handling tar.bz tar.gz archives