change to read token from file