adds a config file