Commiting a XML file