private String loadPath(final String typeName) {
        // Try and get the existing id from the DB.
        return getPath(typeName)
                .or(() -> {
                    createPath(typeName);
                    return getPath(typeName);
                })
                .orElseThrow();
    }
This class exists to map feed id's to file paths using old data from the DB.
e.g. Legacy system may have "Test Events" linked to the /EVENTS/ path which differs
from the default of "Test Events" => /TEST_EVENTS/
stroom-data/stroom-data-store-impl-fs-db/src/main/java/stroom/data/store/impl/fs/db/FsTypePathDaoImpl.java