compressing of files with zlib