code: def _get_requirements_from_files(groups_files):
      groups_reqlist = {}
  
      for k, v in groups_files.items():
          with open(v, "r") as f:
              pkg_list = f.read().splitlines()
          groups_reqlist[k] = pkg_list
  
      return groups_reqlist
  
file_path: pysal/setup.py
imports: import codecs
  import os.path
  import os
  import versioneer
  from setuptools import setup, find_packages
  from distutils.command.build_py import build_py
label_desc: Use image node_id 2 for calling a global function with example usage: _get_requirements_from_files(groups_files) and returns: groups_reqlist