Also write logs to file