lib/magento/Archive/Abstract.php
protected function _readFile($source)
    {
        $data = '';
        if (is_file($source) && is_readable($source)) {
            $data = @file_get_contents($source);
            if ($data === false) {
                throw new Mage_Exception("Can't get contents from: " . $source);
            }
        }
        return $data;
    }
protected function _readFile($source)
    {
        $data = '';
        if (is_file($source) && is_readable($source)) {
            $data = @file_get_contents($source);
            if ($data === false) {
                throw new Mage_Exception("Can't get contents from: " . $source);
            }
        }
        return $data;
    }
protected function _readFile ( $ source ) { $ data = '' ; if ( is_file ( $ source ) && is_readable ( $ source ) ) { $ data = @ file_get_contents ( $ source ) ; if ( $ data === false ) { throw new Mage_Exception ( "Can't get contents from: " . $ source ) ; } } return $ data ; }
Read data from file. If file can't be opened, throw to exception.

@param string $source
@return string
@throws Mage_Exception
Read data from file . If file can t be opened throw to exception .