Completely rewritten to perform basic statistics on gzipped logfiles.