question: private File [ ] listFiles ( File file ) { File [ ] children = null ; if ( file . isDirectory ( ) ) { children = fileFilter == null ? file . listFiles ( ) : file . listFiles ( fileFilter ) ; } if ( children == null ) { children = FileUtils . EMPTY_FILE_ARRAY ; } if ( comparator != null && children . length > 1 ) { Arrays . sort ( children , comparator ) ; } return children ; }
target:  List the contents of a directory