Adding few changes in the way the Xml file is read