filestore library cleanup