use xml file as a configuration file