Made the bot output write to a file as well.