It's no problem if other lines of the data file are blank. Just the last line. It seems almost as if the problem is that if the last line of the data file is blank, java doesn't count it as a line.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results