WIP: added support for adding keypair from local key file