write to file now includes name

-write to file update to let user write to a given file and choose name
instead of archive.xml every time
-if fileName doesnt end in .xml, it will be added