PEP8 cleanup, better exception handling added, better argparse options, made decompression of archive file optional rather than default.