readConfigFile reads XML