`ledger --values tags --group-by "tag('MD5Sum')"`

I was unaware of this command.  Though it didn't work for me here.  Regardless, I believe `from_ledger()` function will only accept a single word argument for its *command* argument.  It could certainly be rewritten to accommodate other inputs, but I didn't want to change too much at once.