writing files to output.xml ( hardcoded to XML for now )