Finishing with reading the structure from the xml file