I'm not exactly sure if I'm clear on what your saying, but, if you've been viewing this file in excel you should try viewing it in notepad then you'll see where those commas followed by one entry at the end. Lines 3, 4, & 5 are like that. Because this is saved as a .csv file it defaults to excel, so therefore if you type one value in the last column all the columns before it will still get seperated by commas even though they have no values. (lines 3,4,&5 in your file, also lines 1 & 2.)

Also instead of getting each line by a while not eof loop you should maybe try loading each line into an array, like so:
VB Code:
  1. Dim MyLine() As String
  2.  
  3. Open [I]filename[/I] for Input As #1
  4.     MyString = Split(Input(LOF(1), 1), vbCrLf)
  5. Close #1
  6.  
  7. 'Then you can access each line like so:
  8.  
  9. MyString(0) 'Line 1
  10. MtString(1) 'Line 2  and so on....
  11.  
  12. 'Or you could loop through them...
  13.  
  14. For i = 0 to Ubound(MyLine)
  15.         'Do something with the line here
  16.         'Like with another array
  17.     strTemp = MyLine(i)
  18.     MyNewLine = Split(strTemp, ",")
  19.         'Or what ever you need to do here
  20. Next i