public static function makeZipArchiver($file, $pclZip = false, $write = false)
    {
        if ($pclZip) {
            include_once dirname(__FILE__) .
                         DIRECTORY_SEPARATOR .
                         'ArchiverPclZip.php';
            return new ArchiverPclZip($file);
        } else {
            include_once dirname(__FILE__) .
                         DIRECTORY_SEPARATOR .
                         'ArchiverZipArchive.php';
            return new ArchiverZipArchive($file, $write);
        }
    }