Reading and writing XML now seem to work, need to test file copying