public function setFile($filename) { parent::setFile($filename . '.html'); if ($this->script->isError()) { throw new One_Exception_Script($this->script->error); } }