original_string: private function loadFile($file, $ext)
      {
          $filename = $this->fixFilename($file, $ext);
  
          if (!is_readable($filename)) {
              throw new NotFoundException('file', $file);
          }
  
          return file_get_contents($filename);
      }
code: private function loadFile($file, $ext)
      {
          $filename = $this->fixFilename($file, $ext);
  
          if (!is_readable($filename)) {
              throw new NotFoundException('file', $file);
          }
  
          return file_get_contents($filename);
      }
code_tokens: private function loadFile ( $ file , $ ext ) { $ filename = $ this -> fixFilename ( $ file , $ ext ) ; if ( ! is_readable ( $ filename ) ) { throw new NotFoundException ( 'file' , $ file ) ; } return file_get_contents ( $ filename ) ; }
docstring: Reads file from disk.
  
  @param $file
  @param $ext
  
  @return string
  @throws \eZ\Publish\Core\Base\Exceptions\NotFoundException
docstring_tokens: Reads file from disk .