code: def _fetch(self, filepath: str, new_file_callback: Callable) -> None:
      local_path = posixpath.join(self.local_dir, filepath.lstrip("/"))
  
      dir_path = os.path.dirname(local_path)
      os.makedirs(dir_path, exist_ok=True)
  
      shutil.copyfile(filepath, local_path)
  
      logger.debug(f"Transfered '{filepath}' to '{local_path}'")
      new_file_callback()
  
file_path: determined/harness/determined/tensorboard/fetchers/shared.py
imports: import datetime
  import logging
  import os
  import posixpath
  import shutil
  from typing import Any, Callable, Dict, Generator, List
  from .base import Fetcher
label_desc: Use image node_id 3 for calling the SharedFSFetcher obj's underlying member method code with example usage: obj._fetch(filepath, new_file_callback) without return types