A rural nonprofit hospital in Marshall has filed for protection to restructure finances under the U.S. Bankruptcy Code.