Reading settings from XML file
Better reading