token to configuration file