cleanup tabs/indents
added a switch for bzip2/gzip compression types
Merge pull request #1 from MerlinDMC/master

added/fixed the compression property