code: def process_data(self, block):
          
          if hasattr(block, 'send_destinations') and block.send_destinations:
              self.fire(events.FileProcessed(block))
              self._log_in_db(block)
              if self._sent_log_file:
                  self._log_in_sent_log(block)
              self.log.info("Sent to '%s' file '%s' containing files: %s",
                            str(block.send_destinations),
                            block.processed_data_file_info.basename,
                            str([file_info.path for file_info in block.content_file_infos]))
          else:
              self.log.info("File %s wasn't sent", block.processed_data_file_info.basename)
          return block
docs: expects Block from Compressor