public static ElGamalPrivateKeyParameters importElGamalPrivateKeyParameters(String fileName) throws FileNotFoundException, CorruptDataException, IOException {
		// Retreives the 3 values for the parameters
		BigInteger[] result = loadElGamalKeyFile(fileName, KeyType.PRIVATE);

		// Sets the values
		BigInteger x = result[0];
		BigInteger g = result[1];
		BigInteger p = result[2];

		// Create and return value
		return new ElGamalPrivateKeyParameters(x, new ElGamalParameters(p, g));
	}