Filing for bankruptcy can feel like you’ve hit the financial equivalent of rock bottom. While it does wipe out your old debt, bankruptcy stays on your credit report for seven to 10 years, hurting your long-term chances of qualifying for a mortgage or other credit…