The Unix utility program compress takes a file and replaces it with a compressed version of that file which has .Z appended to the filename.
These days it is superseded by gzip and bzip2.