public function open($path, $mode) { $stream = @fopen($path, $mode); $this->exceptionIfFalse($stream); return $stream; }