code: def __init__(self, data):
      self.path = data[self.type_attr]
      self.compare_to = data.get("compare-to")
      self.pattern = data.get("contains")
      self.pattern_re = _compile_pattern(self.pattern)
  
imports: import difflib
  import glob
  import logging
  import os
  import re
  from guild import util
label_desc: Use image node_id 1 to create a new FileCheck object  with example: obj = FileCheck(data)