code: def process_file(input: Path, output: Path):
      with input.open("r") as fin, output.open("w") as fout:
          for line in fin:
              line = line.strip()
              line = " ".join(line.split())
              fout.write(line + "\n")
  
imports: from argparse import ArgumentParser
  from pathlib import Path
label_desc: Use image node_id 2 for calling a global function with example usage: process_file(input, output) without return types