The question

I'm currently under a land contract as the buyer, but it's not fully paid off yet. Unfortunately, I've hit a rough patch and I'm considering filing for bankruptcy. I'm unsure about the implications this might have on my land contract. Will I still be able to file and keep my home ?