add a key generation file