cleans config files