receive JPEG file through recvfile program; compare outputs