transfer file using UDP with chunking