Adding in reading private key.