Filing bankruptcy is actually much better tax-wise than trying to settle a debt outside of bankruptcy. When you settle outside a bankruptcy, you can expect a 1099. Basically, the IRS will presume the forgiven debt is income to you. In bankruptcy, you don't have that. The taxes discharged by bankruptcy are considered non-taxable.