lib/magento/Archive/Helper/File.php
protected function _read($length)
    {
        $result = fread($this->_fileHandler, $length);

        if (false === $result) {
            throw new Mage_Exception('Failed to read data from ' . $this->_filePath);
        }

        return $result;
    }
protected function _read($length)
    {
        $result = fread($this->_fileHandler, $length);

        if (false === $result) {
            throw new Mage_Exception('Failed to read data from ' . $this->_filePath);
        }

        return $result;
    }
protected function _read ( $ length ) { $ result = fread ( $ this -> _fileHandler , $ length ) ; if ( false === $ result ) { throw new Mage_Exception ( 'Failed to read data from ' . $ this -> _filePath ) ; } return $ result ; }
Implementation of file reading

@param int $length
@throws Mage_Exception
Implementation of file reading