File () { return Optional .ofNullable(PyUtil.as(myProjectGenerator, PythonProjectGenerator.class)) .map(PythonProjectGenerator::getNewProjectPrefix) .map(it -> FileUtil.findSequentNonexistentFile(getBaseDir(), it, "")) .orElseGet(() -> super.findSequentNonExistingUntitled()); }