VirtualFile (@NotNull VirtualFile root, @NotNull String relativePath, @Nullable String text) { try { return createFileOrDir(root, relativePath, text == null ? null : VfsUtil.toByteArray(root, text), false); } catch (IOException e) { throw new RuntimeException(e); } }