public final boolean accept(File file) { file = file.getAbsolutePath().substring(file.getAbsolutePath().lastIndexOf(File.separator) + 1); return file.contains(CommonConstants.b[a.getValue()]) && !file.endsWith(".tmp"); }