filedb.js - file type/subtype support