Wow, that's unexpected :)
Unfortunately, there's no standard module for processing gzip/bz2. The former can be dealt with using etc.c.zlib, but there's no convenient interface for working with file as a stream. Thus, the easiest way that I know of is as follows:
import std.stdio, std.process;auto pipe = pipeShell("gunzip -c " ~ filename); // replace with pigz if you wish
File input = pipe.stdout;
Regarding your second request, this forum is not an appropriate place to provide usage examples for a library, so that will go into a private e-mail.