Text file test

Saves logs to a text file called log.txt