Sample code transfer file through UDP