Created dictionary from XML file.