infile is now a list. Add in support for that, you can look at the latest metric.py as reference