code: def on_created(self, event):
          
          self._logger.debug('Detected create event on watched path: %s', event.src_path)
  
          self._process_event(event)
docs: Function called everytime a new file is created.
  
          Args:
              event: Event to process.