Adding a persitence definition for a file based persitence

WIP