Consider indexing the log files in the folder and pick out the actual latest, not just the latest write time in the unexpected event that a log entry is written to an earlier log file. This might be especially important if we rewrite the log file to correct errors.