public boolean accept(File file) {
		if (filenamePattern == null) {
			throw new ErrorException("No override definition for accept");
		}
		if (file.isDirectory()) return true;
		StringTokenizer tokenizer = new StringTokenizer(filenamePattern, ";");
		while (tokenizer.hasMoreTokens()) {
			String pattern = tokenizer.nextToken();
			if (pattern.length() > 0 && JTFTools.matchFilenamePattern(file.getName(), pattern)) {
				return true;
			}
		}
		return false;
	}