Very bad idea. There are several restaurants, bakeries or stores who tried exactly that. Instead of throwing all the food away, give it to the poor and the homeless. It never ended up well. I was witness to one such story. A local bakery started to give away stale bread once per week to poor. First the people were grateful, but after a while they started to consider the free food as obligation of the store. That bread is not a stable supply -- sometimes there is a lot left over, sometimes none at all. But the people expect to get their share all the time; there were scandals, threats and fights when there was not enough for everyone. Queues started to form before closing times scaring away paying customers. Final straw was when the bakery got vandalized by beggars who did not get their share and decided to take it out on the shop because they did not get enough. After the repairs were done, the practice stopped. Owner contacted a local farmer and gave him all the leftovers to feed the pigs - at least they would not ruin his bakery.