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