added upload and download of xml file