docs: def download_to_file(self, file):
          """
          Download and store the file of the sample.
  
          :param file: A file-like object to store the file.
          """
          con = ConnectionManager().get_connection(self._connection_alias)
          return con.download_to_file(self.file, file, append_base_url=False)