original_string: public function open($file, $mode = 'r+')
      {
          if (!file_exists($file)) {
              throw new FileException('CSV file does not exist');
          }
  
          parent::open($file, $mode);
          return $this;
      }
code: public function open($file, $mode = 'r+')
      {
          if (!file_exists($file)) {
              throw new FileException('CSV file does not exist');
          }
  
          parent::open($file, $mode);
          return $this;
      }
code_tokens: public function open ( $ file , $ mode = 'r+' ) { if ( ! file_exists ( $ file ) ) { throw new FileException ( 'CSV file does not exist' ) ; } parent :: open ( $ file , $ mode ) ; return $ this ; }
docstring: 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
docstring_tokens: Open CSV file for reading