I’m not sure I should have an opinion about it, but I think they are doing it the wrong way when they go through trash bins. I think it would be much more efficient and dignified to talk to the stores and make an agreement to come and get the food.
Lots of stores in sweden give their leftovers to charity. There’s also a smartphone app called Karma that food companies (restaurants, cafés etc.) use to advertise food at half price by the end of the day, or whenever they have leftovers to get rid of. You get notifications whenever there is something in your favorite stores. We have bought lots of cakes, pastries and bread that way. It’s superb. Especially if you are having a party.
#1 Lidl has also started to give any surplus to charities here in Manchester! It's definitely a movement I think more places should follow. I have a friend that works at Costa Coffee and she says all the leftovers have to been thrown in the bin, not even staff can take it home or have it for lunch.