File (boolean tmp) { String fileName = "caches-" + new SimpleDateFormat("yyyyMMdd-HHmmss").format(new Date(System.currentTimeMillis())) + "." + FILE_EXTENSION + (tmp ? ".tmp" : ""); return new File(new File(PathManager.getLogPath()), fileName); }