Thanks, but as I've shown in my 1st posting, what I'm doing now, is to read the file into an array and then I can read from the array line-by-line, I don't see how your sugestion is different.
The main problem is that I read this file a lot(I actually have various reporter files), and I need to find a specific line ( the "header" ) and the last line(the updated "data" )
my question is: is there a simple way to do so, and is there a way to do so without "saving" the whole file into an array or string or such.