void (@NotNull VirtualFile file) { if (!file.isDirectory()) getParameters().myImportProjectFile = file; getParameters().myImportRootDirectory = file.isDirectory() ? file.toNioPath() : file.getParent().toNioPath(); }