Cleaning config file