code: def read_set_from_file(filename):
      """
      Extract a de-duped collection (set) of text from a file.
      Expected file format is one item per line.
      """
      collection = set()
      with open(filename, "r", encoding="utf-8") as file_:
          for line in file_:
              collection.add(line.rstrip())
      return collection
  
imports: import fnmatch
  import json
  import logging
  import os
  import shutil
  import tarfile
  import tempfile
  from functools import partial, wraps
  from hashlib import sha256
  from io import open
label_desc: Use image node_id 13 for calling a global function with example usage: read_set_from_file(filename) and returns: collection