VirtualFile () { try { File file = new File(path); VirtualFile parent = VfsUtil.createDirectories(file.getParent()); return parent.createChildData(this, file.getName()); } catch (IOException e) { Messages.showErrorDialog(project, e.getMessage(), DevKitBundle.message("testdata.create.dialog.title")); return null; } }