added a filestore class