pub async fn file_download( configuration: &Configuration, workspace: &str, file_key: &str, s3_resource_path: Option<&str>, resource_type: Option<&str>, storage: Option<&str>, ) -> Result<PathBuf, Error<FileDownloadError>>