docs: def on_modified(self, event):
          """ on_modified handler """
          logger.debug("file modified: %s", event.src_path)
          if not event.is_directory:
              self.update_file(event.src_path)