Adding an additional flag that will allow the formatted log to be saved separately from the main log ('formattedLog'). Takes a path as a string.