API on how to handle Persistence files