updated to handle tar files without compression in unpack, removed