public function open($file, $mode = 'r+')
    {
        if (!file_exists($file)) {
            throw new FileException('CSV file does not exist');
        }

        parent::open($file, $mode);
        return $this;
    }
public function open($file, $mode = 'r+')
    {
        if (!file_exists($file)) {
            throw new FileException('CSV file does not exist');
        }

        parent::open($file, $mode);
        return $this;
    }
public function open ( $ file , $ mode = 'r+' ) { if ( ! file_exists ( $ file ) ) { throw new FileException ( 'CSV file does not exist' ) ; } parent :: open ( $ file , $ mode ) ; return $ this ; }
Open CSV file for reading

@param string $file File name with path to open
@param string $mode @link http://php.net/manual/en/function.fopen.php
@return $this
@throws FileException
Open CSV file for reading