outputting fire xml contents to txt file