Reliable file transfer over UDP protocol