checking for keyfile when validating