original_string: protected function processNewFiles(array $files)
      {
          foreach ($files as $file) {
              if (!file_exists($file)) {
                  //This is bad
                  throw new Exception('Cant find File: '.$file);
              }
              include $file;
              
              if (!isset($arrUpdate)) {
                  throw new Exception('Array $arrUpdate does not exist in '.$file);
              }
              
              try {
                  $this->processArray($arrUpdate);
                  $this->addFileToProcessedList($file);
              } catch (Exception $ex) {
                  echo $ex->getMessage();
              }
              
              unset($arrUpdate);
          }
      }
code: protected function processNewFiles(array $files)
      {
          foreach ($files as $file) {
              if (!file_exists($file)) {
                  //This is bad
                  throw new Exception('Cant find File: '.$file);
              }
              include $file;
              
              if (!isset($arrUpdate)) {
                  throw new Exception('Array $arrUpdate does not exist in '.$file);
              }
              
              try {
                  $this->processArray($arrUpdate);
                  $this->addFileToProcessedList($file);
              } catch (Exception $ex) {
                  echo $ex->getMessage();
              }
              
              unset($arrUpdate);
          }
      }
code_tokens: protected function processNewFiles ( array $ files ) { foreach ( $ files as $ file ) { if ( ! file_exists ( $ file ) ) { //This is bad throw new Exception ( 'Cant find File: ' . $ file ) ; } include $ file ; if ( ! isset ( $ arrUpdate ) ) { throw new Exception ( 'Array $arrUpdate does not exist in ' . $ file ) ; } try { $ this -> processArray ( $ arrUpdate ) ; $ this -> addFileToProcessedList ( $ file ) ; } catch ( Exception $ ex ) { echo $ ex -> getMessage ( ) ; } unset ( $ arrUpdate ) ; } }
docstring: Reads the Update Files and triggers the Update
  @param array $files
  @throws Exception
docstring_tokens: Reads the Update Files and triggers the Update