def process(self, event):
        """Put and process tasks in queue.
        """
        logger.info(f"{self}: put {event.src_path}")
        self.queue.put(os.path.basename(event.src_path))
Put and process tasks in queue.