exports in xml to file