protected List<F> listFiles(T driver,
String path, boolean dirOnly) {
File dir = driver.getFile(path);
if (!dir.exists())
throw new AjxpDriverException("Dir " + dir + " does not exist.");
FileFilter filter = createFileFilter(dir);
File[] files = dir.listFiles(filter);
List<F> ajxpFiles = new Vector<F>();
for (File file : files) {