Continue work on file output.
Add UDP code to send data out.