Read and write to CoreData model files