Thank you! At a glance this is very close to what I had in mind, especially with the straightforward output format, I'll give this a try.