The Twinkie brand, along with other iconic brands owned by the company, will be sold off in bankruptcy to other companies who expect to be able to profitably market them. Of course there is no guarantee that they will restart the old factories and rehire the Hostess workers, likely leaving them out in the cold.
There are two major issues here. First, in the United States firms can in general fire workers at will. This means that if they can find workers elsewhere in or outside the country who will work for less, then they can dump their current workforce and hire lower cost labor. This happens all the time. Most other wealthy countries require some sort of severance payment to longer term workers, but the United States does not.