Support for importing keys from a file. Fixes #75.