Wip sd filestore optimization

Error from get_index() is not honored, can result in assertion failure down, if index is not populated.