protected function getMetadataFilename($type = MB_BASEMETADATALOCATION, $template = null, $client = null)
 {
     if ($client === null) {
         $client = $this->_viewClient;
     }
     // If a template was provided, use the sugarobject template type path
     if ($template) {
         $path = "include/SugarObjects/templates/{$template}";
     } else {
         // Else use the regular file path
         $path = MetaDataFiles::getPath($type) . "modules/{$this->_moduleName}";
     }
     // Finish building the path before sending it back
     $path .= "/clients/{$client}/filters/default/default.php";
     return $path;
 }