@Nullable
    static String stripPatchNameIfNeeded(@NotNull String fileName, boolean before) {
      if (UnifiedDiffWriter.DEV_NULL.equals(fileName)) return null;
      String prefix = before ? UnifiedDiffWriter.A_PREFIX : UnifiedDiffWriter.B_PREFIX;
      return StringUtil.trimStart(fileName, prefix);
    }
@Nullable
    static String stripPatchNameIfNeeded(@NotNull String fileName, boolean before)