In the black death who gathered the dead?

Impoverished people from outlying rural areas would come in and take away the dead for a price. They were desperate and starving, and so they were willing to do what no one else would.