automatically detect archive file extension
better detection
InputStream version is much better
code style, prepare to test the gzip checksum generator.