def compress_file(filename, content)
      zip.put_next_entry filename, nil, nil, Zip::Entry::DEFLATED, Zlib::BEST_COMPRESSION
      zip.write content.to_s
    end
def compress_file(filename, content)
      zip.put_next_entry filename, nil, nil, Zip::Entry::DEFLATED, Zlib::BEST_COMPRESSION
      zip.write content.to_s
    end
Store a file with maximum compression in the archive.

 @param [String] filename under the which the data should be stored
 @param [#to_s] content to be compressed