if (Files.isDirectory(child)) {
scanOverrides(child, basePath);
} else if (Files.isRegularFile(child)) {
Path relativePath = basePath.relativize(child);
Path modulePath = relativePath.subpath(0, 1);
AssetUri uri = getUri(new Name(modulePath.toString()), modulePath.relativize(relativePath));
if (uri != null) {
try {
addOverride(uri, child.toUri().toURL());
} catch (MalformedURLException e) {
logger.warn("Failed to load override {}", child, e.getMessage());