The easiest way is to read that number of lines before you read the rest of the file.
Notice in the read file that you can connect line mode to true:
snippet from the help:If line mode is TRUE, and if you do not wire count or count equals 0, Read File reads until it encounters an end of line marker--a carriage return, a line feed, or a carriage return followed by a line feed, or it encounters end of file.
end snippet.
You can do this in a for loop.
Or use a special vi I stole from somewhere in the system that only counts for so many lines and calculates the offset in the file.
This last one is somewhat faster but also a littlebit more complex.
I have a lv5.1 version attached
greetings from the Netherlands