Updated with Queuename and xmlfile name parameters