Cleanup configuration file