@Override
	public boolean accept(File file) {
		boolean denied = false;
		if(startsWith!=null) {
			if(!file.getName().startsWith(startsWith)) {
				denied = true;
			}
		}
		if(endsWith!=null) {
			if(!file.getName().endsWith(endsWith)) {
				denied = true;
			}
		}
		if(contains!=null) {
			if(!file.getName().contains(contains)) {
				denied = true;
			}
		}
		return !denied;
	}