Prepare for download xml file