crypt and decoding gzipped files