Writing XML into a file now.