A bankruptcy filing puts an “automatic stay” in place, stopping the foreclosure process. The bank must also stop debt collection activities during an automatic stay.