added the method for reading of settings from XML file