code: private List<File> scanFileSets() {
          final List<File> list = new ArrayList<File>();
  
          for (int i = 0; i < fileSets.size(); i++) {
              FileSet fs = fileSets.get(i);
              DirectoryScanner ds = fs.getDirectoryScanner(getProject());
              ds.scan();
  
              String[] names = ds.getIncludedFiles();
              for (String element : names) {
                  list.add(new File(ds.getBasedir(), element));
              }
          }
  
          return list;
      }
docs: returns the list of files (full path name) to process.
  
  @return the list of files included via the filesets.