make file and input token parsing