Note that the provided example seems to contradict the manual entry for
bzread().
The number of bytes read is the number of uncompressed
bytes, according to bzread(). Since the filesize is likely to be much
smaller than the actual uncompressed size the provided example will not
print out the total contents of the file.