make keyfile non-mandatory