implementing backup/restore for the two modified files