Add option to load log data from a file