code: def _filter_files_package(package_name):
      pkg = _all_packages.get(package_name)
      if pkg and pkg["root_paths"] and pkg["meta_module"]:
          meta_module = _attempt_load_module(pkg["meta_module"])
          if meta_module:
              include_suffixes = meta_module.__dict__.get(
                  "include_suffixes"
              )
              exclude_suffixes = meta_module.__dict__.get(
                  "exclude_suffixes"
              )
  
              # Behavior is as follows:
              #  - if nothing specified, include all files (so do nothing here)
              #  - if include_suffixes, only include those suffixes
              #  - if *not* include_suffixes but exclude_suffixes, include everything *except*
              #    files ending with that suffix
              if include_suffixes:
                  new_files = [
                      f
                      for f in pkg["files"]
                      if any(
                          [
                              f.endswith(suffix)
                              for suffix in include_suffixes
                          ]
                      )
                  ]
              elif exclude_suffixes:
                  new_files = [
                      f
                      for f in pkg["files"]
                      if not any(
                          [
                              f.endswith(suffix)
                              for suffix in exclude_suffixes
                          ]
                      )
                  ]
              else:
                  new_files = pkg["files"]
              pkg["files"] = new_files
  
imports: from __future__ import print_function
  import importlib
  import json
  import os
  import re
  import sys
  import types
  from collections import defaultdict, namedtuple
  from importlib.abc import MetaPathFinder, Loader
  from itertools import chain
label_desc: Use image node_id 16 for calling a global function with example usage: _filter_files_package(package_name) without return types