public static File ungzip(final File inFile, final File outFile) {
		FileInputStream fin = null;
		BufferedInputStream in = null;
		FileOutputStream fout = null;
		GzipCompressorInputStream gzIn = null;
		try {
			fin = new FileInputStream(inFile);
			in = new BufferedInputStream(fin);
			gzIn = new GzipCompressorInputStream(in);
			if (!outFile.getParentFile().exists()) {
				outFile.getParentFile().mkdirs();
			}
			fout = new FileOutputStream(outFile);
			final byte[] buffer = new byte[4048];
			int n;
			while (-1 != (n = gzIn.read(buffer))) {
				fout.write(buffer, 0, n);
			}
		} catch (Exception e) {
			throw processException("Error while ungzip file", e);
		} finally {
			IOUtils.closeQuietly(fin);
			IOUtils.closeQuietly(in);
			IOUtils.closeQuietly(fout);
			IOUtils.closeQuietly(gzIn);
		}
		return outFile;
	}
Ungzip the given file.

@param inFile  file
@param outFile to
@return ungzipped file.
ngrinder-core/src/main/java/org/ngrinder/common/util/CompressionUtils.java