code: def init_file(
      self, save_name: str, size: int, is_artifact_file: bool = False
  ) -> None:
      with self._lock:
          self._stats[save_name] = FileStats(
              deduped=False,
              total=size,
              uploaded=0,
              failed=False,
              artifact_file=is_artifact_file,
          )
  
file_path: wandb/wandb/filesync/stats.py
imports: import threading
  from typing import MutableMapping, NamedTuple
  import wandb
label_desc: Use image node_id 2 for calling the Stats obj's underlying member method code with example usage: obj.init_file(save_name, size, is_artifact_file) without return types