public static void decompress(byte[] zipEntry, File toFile) {
		FileOutputStream fos = null;
		ByteArrayInputStream bio = new ByteArrayInputStream(zipEntry);
		try {
			fos = new FileOutputStream(toFile);
			decompress(bio, fos, Long.MAX_VALUE);
		} catch (IOException e) {
			LOGGER.error("Error occurs during extracting to {} : {} ", toFile.getAbsolutePath(), e.getMessage());
			LOGGER.debug("Details : ", e);
		} finally {
			IOUtils.closeQuietly(fos);
			IOUtils.closeQuietly(bio);
		}
	}
Extracting the given byte array  into the given file.

@param zipEntry byte array of compressed file
@param toFile   file to be written
ngrinder-core/src/main/java/net/grinder/util/LogCompressUtils.java