adding support for bzip2 compression