void (@NotNull VirtualFile vFile1, @NotNull String newName) { try { WriteCommandAction.writeCommandAction(null).run(() -> vFile1.rename(vFile1, newName)); } catch (IOException e) { throw new RuntimeException(e); } }