This SyncFiles recipe allows you to save a programs state, ensuring that the previous (good) copy is preserved and on reload checks to see if the most recent save is complete, and if not reloads an older state instead.[1]