add distinct-values() to combine key files