VirtualFile (@NotNull String path) { String fullPath = myTempDir.toString() + '/' + path; VfsRootAccess.allowRootAccess(getTestRootDisposable(), fullPath); return WriteAction.computeAndWait(() -> LocalFileSystem.getInstance().refreshAndFindFileByPath(fullPath)); }