made lexer create tokens of file input