use xml config file instead of conf file