performance cost of writing udp to file is not worth it