cleanup of config file