Starting removing pymongo and implemanting a custom file storage