If they are liquidated in bankruptcy, another company can buy the names and recipes from the bankruptcy court. Twinkies will live on; Hostess won't.
They may get the formula on paper, but they may have a hard time renegotiating the contract at the Hanford nuclear site where they breed the filling in their fast reactors.