added bzip2 compression