if ( path != null ){
VuzeFileHandler vfh = VuzeFileHandler.getSingleton();
VuzeFile vf = vfh.loadAndHandleVuzeFile( path, VuzeFileComponent.COMP_TYPE_METASEARCH_TEMPLATE );
if ( vf == null ){
Map params = new HashMap();
params.put( "error", "invalid .vuze file" );
sendBrowserMessage("metasearch", "importTemplateFailed",params);
}else{
VuzeFileComponent[] comps = vf.getComponents();
for (int i=0;i<comps.length;i++){
VuzeFileComponent comp = comps[i];