gz and bz2 support