Unzip/untar decompression library (for sdFat)?

Does anyone know if a library exists for package decompression, like unzip or untar? I’m looking to upload a compressed package to the Photon that is stored on SD and then extracted, including sub-folders.

To be clear, I don’t need size compression. Just a bunch of files & folders compressed into a single file. I found this untar.c library that looks relatively short and sweet. Does that seem like an easy port? Anyone able to try? I took a stab but got lost trying to change the C++ FILE object language into something SDFat-compatible.

Also found JUnzip, which would work just as well.

CC: @peekay123 @whg