added support for multiple xml input files