final Capability[] caps = getRequiredCaps();
if (caps != null)
{
for (int i = 0; i < caps.length; i++)
{
final Capability cap = caps[i];
if (!readFolder.getFileSystem().hasCapability(cap))
{
System.out.println("skipping " + getName() + " because fs does not have cap " + cap);
return;
}