supporting XML input files