now persisting simple receipt file correctly