original_string: public function getFile($langcode = null, $module_id = '')
      {
          if (!isset($langcode)) {
              $langcode = $this->langcode;
          }
  
          if (empty($module_id)) {
              $directory = $this->getDirectory($langcode);
          } else {
              $directory = $this->getModuleDirectory($module_id);
          }
  
          return "$directory/$langcode.csv";
      }
code: public function getFile($langcode = null, $module_id = '')
      {
          if (!isset($langcode)) {
              $langcode = $this->langcode;
          }
  
          if (empty($module_id)) {
              $directory = $this->getDirectory($langcode);
          } else {
              $directory = $this->getModuleDirectory($module_id);
          }
  
          return "$directory/$langcode.csv";
      }
code_tokens: public function getFile ( $ langcode = null , $ module_id = '' ) { if ( ! isset ( $ langcode ) ) { $ langcode = $ this -> langcode ; } if ( empty ( $ module_id ) ) { $ directory = $ this -> getDirectory ( $ langcode ) ; } else { $ directory = $ this -> getModuleDirectory ( $ module_id ) ; } return "$directory/$langcode.csv" ; }
docstring: Returns a path to a translation file
  @param string|null $langcode
  @param string $module_id
  @return string
docstring_tokens: Returns a path to a translation file