class_docstr: A predicate that only filters files
code: def __init__(self):
      subpredicates = (
          CONTAINS_PREDICATE,
          CONTAINS_REGEXP_PREDICATE,
          STARTS_WITH_PREDICATE,
          ENDSWITH_PREDICATE,
          EQ_PREDICATE,
      )
  
      predicates = [
          DoesPredicate(subpredicates),
          DoesNotPredicate(subpredicates),
      ]
  
      FilterPredicate.__init__(
          self,
          "file",
          "File",
          self.fn_filter,
          predicates,
          doc="Apply the rule to files",
      )
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/setting/filter/_file_predicate.py
imports: import cellprofiler_core.setting
  from ._does_not_predicate import DoesNotPredicate
  from ._does_predicate import DoesPredicate
  from ._filter import CONTAINS_PREDICATE
  from ._filter import CONTAINS_REGEXP_PREDICATE
  from ._filter import ENDSWITH_PREDICATE
  from ._filter import EQ_PREDICATE
  from ._filter import STARTS_WITH_PREDICATE
  from ._filter_predicate import FilterPredicate
label_desc: Use image node_id 1 to create a new FilePredicate object from inherited base classes: FilterPredicate with example: obj = FilePredicate()