Database-loss resistance
In the rare case that I do delete the database (again) It'd be nice to have files that are still on disk to be counted as new files when viewed.
On file not found in db -> lookup file on disk -> add file to db, new lifetime.
This should be completely seamless, nothing shown to the user, the only way of telling this is a message in the log and a grafana stat.