@Override
  public void beforeContentsChange(@NotNull VirtualFileEvent event) {
    onBeforeFileChange(event.getFile());
  }
@Override
  public void beforeContentsChange(@NotNull VirtualFileEvent event)