 Same with its rivals. CVS, Walgreens and Rite Aid have been closing stores. Rite Aid has filed for bankruptcy. Walgreens has more than 8,700 locations. It's been trying to reorganize its business, at one point trying to become more of a primary care provider. It also faced a multi-billion dollar settlement for its role in the opioid crisis.