This needs to check for an empty name value (because the callback is called for the top level directory)
				String name = NIOFileResource.this.file.toPath().relativize(dir).toString();
				if (name.length() > 0) {
					visitor.visitResource(
						getResource(dir.toFile(), attrs),
						NIOFileResource.this.file.toPath().relativize(dir).toString()
					);
				}