If people in a community have to drive three hours for food, then there will be enough demand that someone will open a grocery store. When there's an economic vacuum left by a closing superstore, other, possibly smaller, stores will come back and fill it. It's simple economics.
When a company such as Walmart opens or closes a large store, there seems to be a mass of news articles explaining how the opening or closing is destroying the community.
When a large store comes in, people rarely consider that the new jobs will have benefits and advancement opportunities not found in the traditional mom-and-pop stores. When a large store closes, people rarely mention that it will leave room for new mom-and-pop stores to open.
The fact is, large stores have a pluses and minuses. Their opening or closing is more a result of local economic conditions than the cause.