public static void cleanUp() {
		ModPack pack = ModPack.getSelectedPack();
		File tempFolder = new File(OSUtils.getDynamicStorageLocation(), "ModPacks" + sep + pack.getDir() + sep);
		for(String file : tempFolder.list()) {
			if(!file.equals(pack.getLogoName()) && !file.equals(pack.getImageName()) && !file.equals("version") && !file.equals(pack.getAnimation())) {
				try {
					if (Settings.getSettings().getDebugLauncher() || file.endsWith(".zip")) {
						Logger.logInfo("debug: retaining modpack file: " + tempFolder + File.separator + file);
					} else {
						FileUtils.delete(new File(tempFolder, file));
					}
				} catch (IOException e) {
					Logger.logError(e.getMessage(), e);
				}
			}
		}
	}