bsdtar.1 -xzf nama-file.tar.gz
manipulate tape archives
-z, --gunzip, --gzip
        (c mode only) Compress the resulting archive with gzip(1).  In extract or list modes, this option
        is ignored.  Note that, unlike other tar implementations, this implementation recognizes gzip
        compression automatically when reading archives.
-f file, --file file
        Read the archive from or write the archive to the specified file.  The filename can be - for
        standard input or standard output.  The default varies by system; on FreeBSD, the default is
        /dev/sa0; on Linux, the default is /dev/st0.
source manpages: bsdtar