ResultPrinter.printError("LSBUFF "+lsBuff.size()+":"+lsBuff.toString());
    public static String[] expandFileName(String fileName) {	Vector filenames = new Vector(); // expanded filenames	try {	    // we are going to use ls to expand the filenames for us	    ByteArrayOutputStream lsBuff = new ByteArrayOutputStream();	    executeNative(getLsCommandOpts(fileName), lsBuff);	    	    ResultPrinter.printError("LSBUFF "+lsBuff.size()+":"+lsBuff.toString());	    // parse ls output:	    StringTokenizer st = new StringTokenizer(lsBuff.toString(), // output from ls						     "\n"); // split on newline	    while(st.hasMoreTokens()) {		String currentToken = st.nextToken();		if (!currentToken.equals("")) {		    filenames.add(currentToken);		}	    }	} catch (Exception e) {	    throw new RuntimeException("Caught exception expanding filenames: " + e.getMessage());	}	// copy from vector to array	String[] sourceFiles = new String[filenames.size()];	for (int i=0; i<sourceFiles.length; i++) {	    sourceFiles[i] = (String)filenames.elementAt(i);	}	return sourceFiles;    }