refactored CXMLConfigFile