Added snippet for compressed data transfer