Maybe we should just have a file parameter on `log`, that if provided logs to file?