/**
  * A special method that belongs to the LoadSubTplTag class but needs none
  * static properties from this class and is called from the cached template
  * files.
  * @param string $file The full filepath to include (OR magic {this})
  * @param TemplateEngine $tplEngine
  */
 public static function requireFile($file, TemplateEngine $tplEngine)
 {
     $tplPath = explode(DIRECTORY_SEPARATOR, $tplEngine->getCurrentTemplateFile());
     array_pop($tplPath);
     $tplPathStr = implode(DIRECTORY_SEPARATOR, $tplPath) . DIRECTORY_SEPARATOR;
     echo $tplEngine->getResultAsHtml($tplPathStr . $file, (array) $tplEngine->getAllData());
 }