Added handling for the removal of config files in custom settings