New functionality for dealing with the log files