This also updates the attribution system so that entire folders can be covered by a single entry. It assumes every file has the same source.