@Override public Iterator<InputStream> open(ResourceHandle handle) throws IOException { if (handle instanceof FileHandle) { return Collections.singletonList(((FileHandle) handle).openStream()).iterator(); } return Collections.<InputStream>emptyList().iterator(); }