Changed sendFile and Receiver to work with NAKs