renamed from filestore to reststore