parser now uses lexer and reads given file