-add ability to restore keys from file