File (@NotNull String userName) { File generatorsDir = new File(PathManager.getSystemPath(), PROJECT_GENERATORS); String dirName = formatGithubUserName(userName); File dir = new File(generatorsDir, dirName); try { return dir.getCanonicalFile(); } catch (IOException e) { return dir; } }