Fixed an error where the lexer would run even with no file.