@NotNull
  private static ProgressEvent createEvent(File file, long revision, @NotNull EventAction action, @Nullable String error) {
    return new ProgressEvent(file, revision, null, null, action, error, null);
  }
@NotNull
  private static ProgressEvent createEvent(File file, long revision, @NotNull EventAction action, @Nullable String error)