created filestore class