genericised paths in kakadu cfg