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.
Although it is superseded by gzip, bzip2, and lzma these days, it is the only compression utility that is part of the POSIX standard.