Clean up config file