merged the new gunzip method