Udated the function return type as hash map to hold the xml file name
and queuename