Add file writing, for data and syslog.