partially implemented sorted logFile