original_string: protected function _open($mode)
      {
          $this->_fileHandler = @fopen($this->_filePath, $mode);
  
          if (false === $this->_fileHandler) {
              throw new Mage_Exception('Failed to open file ' . $this->_filePath);
          }
      }
code: protected function _open($mode)
      {
          $this->_fileHandler = @fopen($this->_filePath, $mode);
  
          if (false === $this->_fileHandler) {
              throw new Mage_Exception('Failed to open file ' . $this->_filePath);
          }
      }
code_tokens: protected function _open ( $ mode ) { $ this -> _fileHandler = @ fopen ( $ this -> _filePath , $ mode ) ; if ( false === $ this -> _fileHandler ) { throw new Mage_Exception ( 'Failed to open file ' . $ this -> _filePath ) ; } }
docstring: Implementation of file opening
  
  @param string $mode
  @throws Mage_Exception
docstring_tokens: Implementation of file opening