protected FileStatus[] getFilteredFileStatuses(Path sourcePath, PathFilter pathFilter) throws IOException {
    return this.fs.listStatus(sourcePath, pathFilter);
  }
protected FileStatus [ ] getFilteredFileStatuses ( Path sourcePath , PathFilter pathFilter ) throws IOException { return this . fs . listStatus ( sourcePath , pathFilter ) ; }
This method could be overwritten to support more complicated file-loading scheme,
e.g. recursively browsing of the source path.