token from file working