question: private File [ ] filterFiles ( final File [ ] toFilter , final String fileName ) { if ( fileName != null && toFilter != null ) { final File fileAsFilter = new File ( fileName ) ; for ( File file : toFilter ) { if ( file . compareTo ( fileAsFilter ) == 0 ) { return new File [ ] { fileAsFilter } ; } } return new File [ 0 ] ; } return toFilter ; }
target:  Limit list of possible file to import.