code: public function getModuleConfigFilePath($moduleName)
      {
          $config = $this->getConfig();
          $moduleConfig = $config->getModuleConfig($moduleName);
  
          if (!$moduleConfig) {
              throw  new Exception("Unable to find module '{$moduleName}'");
          }
  
          return $config->getOptions()->getEtcDir() . DS . 'modules' . DS . $moduleName . '.xml';
      }
docs: Returns module configuration file
  
  @param $moduleName
  @return string
  @throws Exception