DDB-73 - Partial fixes of the path rooting for file-based db