swap out shitty file store for mongodb