code: def get_soup(filename):
      with open(filename, "rb") as f:
          file = f.read()
          return BeautifulSoup(file, "lxml")
  
imports: from bs4 import BeautifulSoup
  import urllib3
  import pandas
  from collections import defaultdict
  import requests
  import re
label_desc: Use image node_id 4 for calling a global function with example usage: get_soup(filename) and returns: BeautifulSoup