parse private key from file