@Override
  public void rename(@NotNull String newName) {
    String updatedName = newName.equals(PathUtil.getFileName(getMyFilePath())) ? null : newName;
    this.update(
      () -> myRenamedOutputFileName = updatedName,
      (builder, entity) -> {
        builder.modifyEntity(FileCopyPackagingElementEntity.Builder.class, entity, ent -> {
          ent.setRenamedOutputFileName(updatedName);
          return Unit.INSTANCE;
        });
      }
    );
  }
@Override
  public void rename(@NotNull String newName)