The zcat command can be used to read the contents of a compressed text file without the need to uncompress it mannually first.

zcat myCompressedFile.gz