Added XML file loading