code: def tokenize_files(
      files, path, output_dir, output_names=None, **kwargs
  ):
      "Tokenize text `files` in parallel using `n_workers`"
      if output_names is None:
          output_names = L(
              output_dir / f.relative_to(path) for f in files
          )
  
      def _f(i, output_dir):
          return output_dir / output_names[i]
  
      return _tokenize_files(
          _f, files, path, output_dir=output_dir, **kwargs
      )
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from ..data.all import *
  import html
label_desc: Use image node_id 14 for calling a global function with example usage: tokenize_files(files, path, output_dir, output_names) and returns: _tokenize_files, unknown