If i want to read a file from the top to bottom, but i dont wish to use EOF instead i want to read line by line ( i=i+1)
The reason i wish to use that is ...maybe inside a file as below..

ABC
vb3=1
Vb4=2
vb5=3

DEF
Vb1=11
VB2=99
VB5=999

GHI
DEF
Vb51=11
VB2=77
VB5=9993


i want direct read the DEF and treat DEF as the first line of the file...
How do i code it?
please help