Filing for bankruptcy can provide serious relief from your mounting debt, but there are a few things to know first.