Added the method to allow reading of the log file. It also throws errors if the file is not found.