Started work on file based logging and created a test for it.