#12 #69 updated the file logging