Yes. When you file your bankruptcy “petition,” all foreclosure or eviction proceedings are immediately stopped. At the moment you file a petition seeking bankruptcy relief, the Bankruptcy Code imposes an injunction on all of your creditors called the “automatic stay.”