Lessons from a retail giant’s recent bankruptcy filing