remove fetchFile and export downloadFile