added the I/O for the key file (where it defaults to examplekey64 if
nothing was entered