original_string: public function readData($pathFilename)
      {
          $pathFilename = ucfirst($pathFilename);
  
          $pathFilename = realpath(__DIR__) . "/../Template/{$pathFilename}.template";
  
          $file = fopen($pathFilename, 'r');
  
          if ($data = fread($file, filesize($pathFilename))) {
              return str_replace('<\?php', '<?php', $data);
          } else {
              throw new \ErrorException(realpath(__DIR__) . "/../Template/{$pathFilename}.template not Found");
          }
      }
code: public function readData($pathFilename)
      {
          $pathFilename = ucfirst($pathFilename);
  
          $pathFilename = realpath(__DIR__) . "/../Template/{$pathFilename}.template";
  
          $file = fopen($pathFilename, 'r');
  
          if ($data = fread($file, filesize($pathFilename))) {
              return str_replace('<\?php', '<?php', $data);
          } else {
              throw new \ErrorException(realpath(__DIR__) . "/../Template/{$pathFilename}.template not Found");
          }
      }
code_tokens: public function readData ( $ pathFilename ) { $ pathFilename = ucfirst ( $ pathFilename ) ; $ pathFilename = realpath ( __DIR__ ) . "/../Template/{$pathFilename}.template" ; $ file = fopen ( $ pathFilename , 'r' ) ; if ( $ data = fread ( $ file , filesize ( $ pathFilename ) ) ) { return str_replace ( '<\?php' , '<?php' , $ data ) ; } else { throw new \ ErrorException ( realpath ( __DIR__ ) . "/../Template/{$pathFilename}.template not Found" ) ; } }
docstring: Read data form template folder
  
  @param $pathFilename
  @return mixed
  @throws \ErrorException
docstring_tokens: Read data form template folder