code: func (fcc FileContentCheck) Check() (warnings, errorList []error) {
  	klog.V(1).Infof("validating the contents of file %s", fcc.Path)
  	f, err := os.Open(fcc.Path)
  	if err != nil {
  		return nil, []error{errors.Errorf("%s does not exist", fcc.Path)}
  	}
  
  	lr := io.LimitReader(f, int64(len(fcc.Content)))
  	defer f.Close()
  
  	buf := &bytes.Buffer{}
  	_, err = io.Copy(buf, lr)
  	if err != nil {
  		return nil, []error{errors.Errorf("%s could not be read", fcc.Path)}
  	}
  
  	if !bytes.Equal(buf.Bytes(), fcc.Content) {
  		return nil, []error{errors.Errorf("%s contents are not set to %s", fcc.Path, fcc.Content)}
  	}
  	return nil, []error{}
  
  }
docs: // Check validates if the given file contains the given content.