Fixing error when only one xml file was going to be proccessed instead of a folder