I pushed some changes to take the input filenames from standard input instead from the command line (which doesn't support more than, say, a few thousands arguments) and to customize the output format a little bit. Hopefully that's not too impactful on reviewers who have already looked at this (but if it is I can remove the last two commits).