Added a verification for config file validity