Put the members of FileDB protected by lock_ together.
Add more verification of the hash of entries.