arbitrary
I just wrote an arbitrary number of lines to my text file. Now, how can I read them in? I know what each line will contain, but I dont know how many lines. Is there some sort of a peek function to see if there are any more lines available to read?