boolean exec, link, file;
exec = link = file = false;
while (fw.hasNext()) {
fw.next();
FileInfo fi = fw.file();
String fn = fw.name().toString();
if (fn.equals("file-link")) {
link = true;
errorCollector.assertTrue("Symlink shall exist despite the fact it points to nowhere", fi.exists());
errorCollector.assertFalse(fi.isExecutable());