buffed up loadConfigFile