make sure only recent key data is in the keyfile