code: def _create_files(basedir: Path):
      source_dir = basedir / "source"
      inner_dir = source_dir / "dir"
      os.makedirs(inner_dir)
      with open(source_dir / "f1", "w") as fp:
          fp.write("f1")
  
      with open(inner_dir / "f2", "w") as fp:
          fp.write("f2")
      return source_dir, inner_dir
  
file_path: pytorch-lightning/tests/tests_app/source_code/test_tar.py
imports: import math
  import os
  import tarfile
  from pathlib import Path
  import pytest
  from lightning.app.source_code.tar import MAX_SPLIT_COUNT, _get_dir_size_and_count, _get_split_size, _tar_path
label_desc: Use image node_id 1 for calling a global function with example usage: _create_files(basedir) and returns: source_dir,  inner_dir