Created exception in case the configuration file and custom configuration file are the same