code: public void unpack(File file, File outputDirectory) {
      ZipFile zipFile = null;
      try {
        zipFile = new ZipFile(file);
        Enumeration<ZipArchiveEntry> entries = zipFile.getEntries();
        while (entries.hasMoreElements()) {
          ZipArchiveEntry entry = entries.nextElement();
          if (!exclude(entry.getName(), excludeFiles)) {
            unpackEntry(zipFile, entry, outputDirectory);
          }
        }
      }
      catch (IOException ex) {
        throw new PackageManagerException("Error reading content package " + file.getAbsolutePath(), ex);
      }
      finally {
        IOUtils.closeQuietly(zipFile);
      }
    }
docs: Unpacks file
  @param file File
  @param outputDirectory Output directory