@Override
	public boolean accept(File arg0, String arg1) {
		File file = new File(arg0.toString()+File.separator	+arg1);
		System.out.println(file.toString());
		if(file.isDirectory() && !acceptD){
			return false;
		}
		if(extension != null && !file.getName().endsWith(extension)){
			return false;
		}
		if(name != null && !file.getName().equals(name)){
			return false;
		}
		return true;
	}