Removed commented tests, added check for 0 bytes in recvFile.