void linkImage(string fileName)
{
string directoryName = Util.GetReportDirectoryName(fileName);
/*
string [] pngs = Directory.GetFiles(directoryName, "*.png");
//if found 3 images, sure will be 1.png, 2.png and 3.png, next will be 4.png
//there will be always a png with chronojump_logo
writer.WriteLine("<img src=\"" + Util.GetLastPartOfPath(directoryName) + "/" + (pngs.Length -1).ToString() + ".png\">");
*/
writer.WriteLine("<img src=\"" + Util.GetLastPartOfPath(directoryName) + "/" + (statCount+1).ToString() + ".png\">");
}