.Z files are (normally) created when you use the ... compress 'filename' .... command line function of Unix. Just about all modern zip applications can uncompress these files but i have yet to find one that can actually create them.
I think the .Z file format is a proprietary format for unix that was covered under a patent that expired in 2003....