updated the download file function to support content-disposition