code: public String[] matchFileNamesWithPattern(File[] files,
  			String fileNameRegExp) throws SshException, SftpStatusException {
  		String[] thefile = new String[1];
  		thefile[0] = files[0].getName();
  		return thefile;
  	}
docs: opens and returns the requested filename string
  
  @throws SftpStatusException