code: def put(self, filename):
          
          from . import LocalFile
          target = get_target_path(filename, self.source)
          with self.open('rb') as infile, open(target, 'wb') as outfile:
              shutil.copyfileobj(infile, outfile)
          return LocalFile(target)
docs: Write the file to the given path
  
          Args:
              filename(str): path to write this file to
  
          Returns:
              LocalFile: reference to the copy of the file stored at ``filename``