code: def read_requirements_file(path):
      dependencies = []
      dependencies_links = []
      for line in path.open("r").readlines():
          if "-f" in line or "--find-links" in line:
              dependencies_links.append(
                  line.replace("-f", "")
                  .replace("--find-links", "")
                  .strip()
              )
          else:
              dependencies.append(line)
      return dependencies, dependencies_links
  
file_path: deepchecks/setup.py
imports: import pathlib
  import re
  import typing
  from functools import lru_cache
  import setuptools
label_desc: Use image node_id 4 for calling a global function with example usage: read_requirements_file(path) and returns: dependencies,  dependencies_links