Where exactly are you actually READING the lines of the file with the Scanner? I only see a nextLine() call...

nextLine() returns a String that you aren't capturing. You commented that it was...