I think the filename is more important and should be the 1st argument.

I intend to change the parser at some point to look for blank lines as an indication that the next day started, instead of doing complicated comparisons with virtual_midnight.  This would perhaps even mean that you can use a TimeLog() without passing in settings, eventually, maybe.