code: def process_data(self, file_info):
          
          if self._exceeds_max_file_size(file_info):
              self.log.info("File '%s' has a size in bytes (%d) greater than the configured limit. Will be ignored.",
                            file_info.path, file_info.size)
              self.fire(events.FilteredFile(file_info))
              return None
          else:
              return file_info
docs: expects FileInfo