code: def file_filter(include=None, exclude=None):
      includes = _create_file_filter(include, True)
      excludes = _create_file_filter(exclude, False)
      return lambda p: includes(p) and not excludes(p)
  
file_path: h2o-3/h2o-py/tests/_utils.py
imports: import fnmatch
  import importlib
  import os
  import re
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: file_filter(include, exclude) and returns: function