added writing presentation snapshots to file