Parsing multiple xml files with glob function