read core data.