Made regexp for recognising frameworks configurable; also now accepts more than one input file.