A single xml file is now accepted at the input as well as a folder