code: def identify_datafiles(root,
                         extensions_to_ignore=None,
                         directories_to_ignore=None,
                         files_to_ignore=None):
      
  
      for dirpath, dirnames, filenames in walk(root):
  
          for ignore in directories_to_ignore:
              if ignore in dirnames:
                  dirnames.remove(ignore)  # don't visit ignored directories
  
  
          for filename in filenames:
  
  
              # Ignore extensions that need no IP check
              ignore = False
              for ext in extensions_to_ignore:
                  if filename.endswith(ext):
                      ignore = True
  
              if filename in files_to_ignore:
                  ignore = True
  
              if ignore is False:
                  yield dirpath, filename
docs: Identify files that might contain data
  
      See function IP_verified() for details about optinoal parmeters