fix data not being char buffer bug. filename is udp/record.out