Load the `log` using `FileObserver`
Add method `setCurrentDocument` which also sets the log file appropriately