added bzip2 support