implemented saving and loading local backup files

it is somewhat brittle; let the user beware