finished files-as-persistance example