The most “economical” way to do it is to get a list of files without actually reading them…
So maybe like “execute command”, get the list of files you need, take only the first one, read from disk and decompress that one.
In any other case, you would need to read a lot of files (potentially big) just to decompress the first one… There’s a lot of potential for this to go wrong. In addition it’s very resource intensive