Modified to support the calculation of multiple measures on multiple swc files in a single call