Converted database to directory-scan plus parallel file-loading w/ file-per-faction design.