function open($file) { if (!($this->fd = @fopen($file, "r"))) { throw new Exception(); } $this->file = $file; $this->stub = $this->readStub(); $this->manifest = $this->readManifest(); $this->signature = $this->readSignature(); }