Check for file format .xml and create a new folder only if the output file format is CSV