private key file check