Groovy post_gather script - where do I start?

Thanks @plevan, unfortunately I can’t change this to a web collection due the files not being available over http(s). The files are also >300MB each and I was running into difficulty with java heap space issues using any other collection type.