private function openZipFile($zipFile)
    {
        $zipArchive = new \ZipArchive;

        if ($zipArchive->open($zipFile) !== true) {
            throw new \Exception('Error opening '.$zipFile);
        }

        return $zipArchive;
    }