make own file token parser that works