Using CoreData instead of file.