Cursor is just the mouse pointer on screen (Arrow, hand etc.) I think you may be mistaking it for a database cursor.
How are you reading in the file - if you are using a System.IO.StreamReader you shouldn't need to be checking for EOF anyway. Post some code and see if we can help.