original_string: public function setAuthSubPrivateKeyFile($file, $passphrase = null,
                                               $useIncludePath = false) {
          $fp = @fopen($file, "r", $useIncludePath);
          if (!$fp) {
              require_once 'Zend/Gdata/App/InvalidArgumentException.php';
              throw new Zend_Gdata_App_InvalidArgumentException('Failed to open private key file for AuthSub.');
          }
  
          $key = '';
          while (!feof($fp)) {
              $key .= fread($fp, 8192);
          }
          $this->setAuthSubPrivateKey($key, $passphrase);
          fclose($fp);
      }
code: public function setAuthSubPrivateKeyFile($file, $passphrase = null,
                                               $useIncludePath = false) {
          $fp = @fopen($file, "r", $useIncludePath);
          if (!$fp) {
              require_once 'Zend/Gdata/App/InvalidArgumentException.php';
              throw new Zend_Gdata_App_InvalidArgumentException('Failed to open private key file for AuthSub.');
          }
  
          $key = '';
          while (!feof($fp)) {
              $key .= fread($fp, 8192);
          }
          $this->setAuthSubPrivateKey($key, $passphrase);
          fclose($fp);
      }
code_tokens: public function setAuthSubPrivateKeyFile ( $ file , $ passphrase = null , $ useIncludePath = false ) { $ fp = @ fopen ( $ file , "r" , $ useIncludePath ) ; if ( ! $ fp ) { require_once 'Zend/Gdata/App/InvalidArgumentException.php' ; throw new Zend_Gdata_App_InvalidArgumentException ( 'Failed to open private key file for AuthSub.' ) ; } $ key = '' ; while ( ! feof ( $ fp ) ) { $ key .= fread ( $ fp , 8192 ) ; } $ this -> setAuthSubPrivateKey ( $ key , $ passphrase ) ; fclose ( $ fp ) ; }
docstring: Sets the PEM formatted private key, as read from a file.
  
  This method reads the file and then calls setAuthSubPrivateKey()
  with the file contents.
  
  @param string $file The location of the file containing the PEM key
  @param string $passphrase The optional private key passphrase
  @param bool $useIncludePath Whether to search the include_path
  for the file
  @return void
docstring_tokens: Sets the PEM formatted private key as read from a file .