[nitpicking]
Have you considered something like
```
fragments.groupBy(_._2).map(
  (sfile,symbls) => "%s in %s".format(symbls.map(_._1), sfile)
).join(", ")
```
to avoid logfile clutter ?
[/nitpicking]