Project (@NotNull ProgressIndicator indicator) { try { myProjectMode = true; unzip(name, path, false, indicator, false); return ProjectManagerEx.getInstanceEx().loadProject(baseDir); } finally { cleanup(); if (indicator.isCanceled() && !isSomehowOverwriting) { try { NioFiles.deleteRecursively(baseDir); } catch (IOException e) { LOG.error(e); } } } }