Fixed typo in private key file loading