Add backup & restore functionality into utility.
Add logs.
Use utility function to backup & restore file.
Restore done.