coded the send/receive to work for file length. need to make it work for the
rest of the ciphertext as well and to test on other networks.