public boolean accept(File pathname) {
        String name = pathname.getName().toLowerCase();
        boolean accept;
        accept = !(name.equals(".") || name.equals("..")) && !pathname.isDirectory();
        return accept;
    }
public boolean accept ( File pathname ) { String name = pathname . getName ( ) . toLowerCase ( ) ; boolean accept ; accept = ! ( name . equals ( "." ) || name . equals ( ".." ) ) && ! pathname . isDirectory ( ) ; return accept ; }
*******************************************************************