Scanner/Indexer theoretically working. Cannot open files however

Not able to open the files for indexing. Could this be due to a newline character?