Adding delegate to notify that we could not save to disk. Passing cache dictionary. WIP