final Capability[] caps = getRequiredCaps();
if (caps != null)
{
for (int i = 0; i < caps.length; i++)
{
final Capability cap = caps[i];
FileSystem fs = readFolder.getFileSystem();
if (!fs.hasCapability(cap))
{
// String name = fs.getClass().getName();
// int index = name.lastIndexOf('.');