Add logging to file