Started saving to XML form and open file. Not fully implemented yet.