Fixed to send and receive files.  Needs modification for bigger files