re-integrating development branch which solves bz2 decompressing issues