Memoize log_file_contents.