original_string: public function get_file($contextid, $component, $filearea, $itemid, $filepath, $filename) {
          $filepath = clean_param($filepath, PARAM_PATH);
          $filename = clean_param($filename, PARAM_FILE);
  
          if ($filename === '') {
              $filename = '.';
          }
  
          $pathnamehash = $this->get_pathname_hash($contextid, $component, $filearea, $itemid, $filepath, $filename);
          return $this->get_file_by_hash($pathnamehash);
      }
code: public function get_file($contextid, $component, $filearea, $itemid, $filepath, $filename) {
          $filepath = clean_param($filepath, PARAM_PATH);
          $filename = clean_param($filename, PARAM_FILE);
  
          if ($filename === '') {
              $filename = '.';
          }
  
          $pathnamehash = $this->get_pathname_hash($contextid, $component, $filearea, $itemid, $filepath, $filename);
          return $this->get_file_by_hash($pathnamehash);
      }
code_tokens: public function get_file ( $ contextid , $ component , $ filearea , $ itemid , $ filepath , $ filename ) { $ filepath = clean_param ( $ filepath , PARAM_PATH ) ; $ filename = clean_param ( $ filename , PARAM_FILE ) ; if ( $ filename === '' ) { $ filename = '.' ; } $ pathnamehash = $ this -> get_pathname_hash ( $ contextid , $ component , $ filearea , $ itemid , $ filepath , $ filename ) ; return $ this -> get_file_by_hash ( $ pathnamehash ) ; }
docstring: Fetch locally stored file.
  
  @param int $contextid context ID
  @param string $component component
  @param string $filearea file area
  @param int $itemid item ID
  @param string $filepath file path
  @param string $filename file name
  @return stored_file|bool stored_file instance if exists, false if not
docstring_tokens: Fetch locally stored file .