Added saving treeview to xml file method in xml parser.