*/
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 {