Validate the private key file before importing