private void clear() {
		String path = game.ProjectFiles + "logs/";
		String files;
		File folder = new File(path);
		File[] listOfFiles = folder.listFiles();

		for (int i = 0; i < listOfFiles.length; i++) {
			if (listOfFiles[i].isFile()) {
				files = listOfFiles[i].getName();
				if (files.endsWith(".log") || files.endsWith(".LOG")) {
					//System.out.println("[LOG] Deleating old file " + files);
					File file = new File(path + files);
					if (!file.getName().contains(logFile)) file.delete();
				}
			}
		}
	}