code: def test_save_file():
      with tempfile.TemporaryDirectory() as tmpdir:
          fname = os.path.join(tmpdir, "newfile.txt")
          write_file(fname)
          with wandb.init() as run:
              run.config.id = "save_file"
              run.save(fname, base_path=tmpdir)
  
imports: import os
  import tempfile
  import wandb
label_desc: Use image node_id 2 for calling a global function with example usage: test_save_file() without return types