Add back in .tar.gz functionality and use triples to distinguish
DEBUG unpacking