No the first line is about 20 characters long. I have checked for the @ERROR on open() but it's 0. So really not quite sure what's going on here.

The text file was created by running "DIR /B/S > gd.txt" on the command line, and this definately appends each line with @CRLF.