Pull out reading token from file into function