code: def save(self, target_path, ftype='normal'):
          
          camfile_p = ffi.new("CameraFile**")
          with open(target_path, 'wb') as fp:
              lib.gp_file_new_from_fd(camfile_p, fp.fileno())
              lib.gp_camera_file_get(
                  self._cam._cam, self.directory.path.encode(),
                  self.name.encode(), backend.FILE_TYPES[ftype], camfile_p[0],
                  self._cam._ctx)
docs: Save file content to a local file.
  
          :param target_path: Path to save remote file as.
          :type target_path:  str/unicode
          :param ftype:       Select 'view' on file.
          :type ftype:        str