add trivial filename check to skip non-XML input files