sucessfully parsing text file for tokens