code: def file_with_metadata(tmp_path, text_file):
      filename = tmp_path / "file.txt"
      shutil.copyfile(text_file, filename)
      metadata_filename = tmp_path / "metadata.jsonl"
      metadata = textwrap.dedent(
          """\
          {"file_name": "file.txt", "additional_feature": "Dummy file"}
          """
      )
      with open(metadata_filename, "w", encoding="utf-8") as f:
          f.write(metadata)
      return str(filename), str(metadata_filename)
  
imports: import importlib
  import shutil
  import textwrap
  import pytest
  from datasets import ClassLabel, DownloadManager, Features, Value
  from datasets.data_files import DataFilesDict, get_data_patterns
  from datasets.download.streaming_download_manager import StreamingDownloadManager
  from datasets.packaged_modules.folder_based_builder.folder_based_builder import FolderBasedBuilder, FolderBasedBuilderConfig
  from datasets.tasks import TextClassification
label_desc: Use image node_id 7 for calling a global function with example usage: file_with_metadata(tmp_path, text_file) and returns: str,  str