Proper XML File Generation.