private function extract($extractPath, $archive)
    {
        $res = $archive->extractTo($extractPath);
        $archive->close();
        $this->setExtractPath($extractPath);
        $resolver = new Resolver($extractPath);
        $this->data = $resolver->resolve();
    }