Steward Health Care, the embattled Dallas-based chain of hospitals, has done what everyone predicted — they filed for bankruptcy.

The national health care giant operates 32 hospitals — eight in Massachusetts, with Norwood hospital still shuttered after a flood — and will keep the doors open, for now.

In a pre-dawn statement, Steward said it has “commenced an in-court restructuring process” under Chapter 11 of the U.S. Bankruptcy Code.

That move in being “finalized” for both a “debtor-in-possession financing from Medical Properties Trust for initial funding of $75 million and up to an additional $225 million upon the satisfaction of certain conditions acceptable to Medical Properties Trust,” the company said in a statement.

That will keep the doors open, but the fallout is hitting hard in New England.