Added support to lex entire files.