Log to file now actually works..