def _on_file_moved(self, event: FileSystemMovedEvent):
if not event.is_directory and self.is_data_file(event.src_path):<EOL><INDENT>delete_event = FileSystemEvent(event.src_path)<EOL>delete_event.event_type = EVENT_TYPE_DELETED<EOL>self._on_file_deleted(delete_event)<EOL>create_event = FileSystemEvent(event.dest_path)<EOL>create_event.event_type = EVENT_TYPE_CREATED<EOL>self._on_file_created(create_event)<EOL><DEDENT>
Called when a file in the monitored directory has been moved.

Breaks move down into a delete and a create (which it is sometimes detected as!).
:param event: the file system event