remove filename summary from here, it is now in app.js
add verification code to look for weirdness in the JSON database