void (final @NotNull VirtualFile file, final @NotNull String text) { try { WriteAction.runAndWait(() -> LoadTextUtil.write(null, file, file,text, -1)); } catch (IOException e) { throw new RuntimeException(e); } }