download an xml file