code: def test_tokenize_files(tmp_path):
      input_file = tmp_path / "input.txt"
      with open(input_file, "w") as fout:
          fout.write(
              "This is a test.  This is a second sentence.\n\nI took my daughter ice skating"
          )
  
      output_file = tmp_path / "output.txt"
      tokenize_files.main(
          [
              str(input_file),
              "--lang",
              "en",
              "--output_file",
              str(output_file),
              "--model_dir",
              TEST_MODELS_DIR,
          ]
      )
  
      with open(output_file) as fin:
          text = fin.read()
  
      assert EXPECTED == text
  
imports: import pytest
  from stanza.models.tokenization import tokenize_files
  from stanza.tests import TEST_MODELS_DIR
label_desc: Use image node_id 1 for calling a global function with example usage: test_tokenize_files(tmp_path) without return types