if (getCluster().getConfigFinder ().open (otherDataFormat) != null) {
if (getConfigFinder ().open (otherDataFormat) != null) {
  protected Map [] sendFormat (Collection templates) {	if (myExtraOutput)	  System.out.println (getName () + ".sendFormat");    Map [] nameInfo = null;	Date start = new Date ();	    try {      // perform the transform!	  Document problemFormatDoc = getFormatDoc (templates);	  if (showFormatXML) {		System.out.println (domUtil.getDocAsString(problemFormatDoc));	  }	  if (showTiming)		domUtil.reportTime (" - Vishnu completed format XML transform in ", start);	        // must remove duplicate OBJECTFORMATS            Node root = problemFormatDoc.getDocumentElement ();	  if (myExtraOutput)		System.out.println (getName () + "- root " + ((Element)root).getTagName () + 							" has " + root.getChildNodes().getLength()+ " children");	        NodeList nlist = root.getChildNodes();      Node dataformat = nlist.item(0);  // assumes first child is dataformat	  if (myExtraOutput)		System.out.println (getName () + "- dataformat " + ((Element)dataformat).getTagName () + 							" has " + dataformat.getChildNodes().getLength()+ " children");      nameInfo = removeDuplicates (dataformat, problemFormatDoc);      // label the problem with the name of the problem      ((Element)root).setAttribute ("NAME", comm.getProblem());      if (myExtraOutput)		System.out.println (getName () + ".sendFormat - problem is " + comm.getProblem());      // appending any global other data object formats       String otherDataFormat = getOtherDataFormat();	  try {		if (getCluster().getConfigFinder ().open (otherDataFormat) != null) {		  if (myExtraOutput)			System.out.println (getName () + ".sendFormat -  appending " + 								otherDataFormat + " other data format file");		  domUtil.appendDoc (problemFormatDoc, 					 (Element)((Element)root).getFirstChild(), // OBJECTFORMAT tag					 otherDataFormat);		}	  } catch (FileNotFoundException fnf) {		if (myExtraOutput)		  System.out.println (getName () + 							  ".sendFormat could not find optional file : " + 							  otherDataFormat );	  }      // append the scheduling specs      String specsFile;	  	  if (!ignoreSpecsFile) {		specsFile = getSpecsFile();		if (myExtraOutput)		  System.out.println (getName () + ".sendFormat - appending " + 							  specsFile + " vishnu specs xml file");		domUtil.appendDoc (problemFormatDoc, specsFile);	  }      // append the ga specs      specsFile = getGASpecsFile();       if (myExtraOutput)		System.out.println (getName () + ".sendFormat - appending " + 							specsFile + " vishnu ga specs xml file");      domUtil.appendDoc (problemFormatDoc, specsFile);      // send to postdata URL      serializeAndPostProblem (problemFormatDoc);    } catch (Exception ioe) {      System.out.println ("send Format - Exception " + ioe.getMessage());      ioe.printStackTrace ();    }    return nameInfo;  }