code: def download(self, file_to_be_downloaded, perform_download=True, download_to_path=None):
          
          response = self.get(
              '/path/data/', file_to_be_downloaded, raw=False)
          if not perform_download:
              # The caller can decide how to process the download of the data
              return response
          if not download_to_path:
              download_to_path = file_to_be_downloaded.split("/")[-1]
          # download uses shutil.copyfileobj to download, which copies
          # the data in chunks
          o = open(download_to_path, 'wb')
          return shutil.copyfileobj(response.raw, o)
docs: file_to_be_downloaded is a file-like object that has already
          been uploaded, you cannot download folders