code: public List<F> listFiles(NfsFileFilter filter) throws IOException {
          List<F> childFiles = listFiles();
          if ((childFiles == null) || (childFiles.size() == 0) || (filter == null)) {
              return childFiles;
          }
          List<F> filteredFiles = new ArrayList<F>();
          for (F childFile : childFiles) {
              if (filter.accept(childFile)) {
                  filteredFiles.add(childFile);
              }
          }
          return filteredFiles;
      }
docs: /*
  (non-Javadoc)
  
  @see
  com.emc.ecs.nfsclient.util.NfsFile#listFiles(com.emc.ecs.nfsclient.util.
  NfsFileFilter)