File for Bankruptcy only as a last resort
Bankruptcy should be used only in the most extreme cases. While having your credit card debt completely erased may seem tempting, bankruptcy has several long-term, negative effects. The most obvious is that your credit is essentially ruined for several years, meaning it will be difficult if not impossible to obtain credit even when you really need it.
This may not seem so bad, since your goal is to get out of credit card debt anyway. However, on a more practical level, bankruptcy means having to live completely on an all-cash basis. If the car breaks down, you either pay cash or don't get it fixed. When it's back-to-school time, you either write a check for the kids' new clothes or send them to class in worn-out items from last year.
Once you get your credit card debt under control, it's just as important to keep it under control. The popular thinking is that you should never charge more than you can pay off at the end of the month. This is, of course, easier said than done.
A more practical approach is to impose your own limit on each card, regardless of its actual limit. For example, if your card has a limit of $2,000, you may choose to impose your own limit of $850. That way, you'll always have your credit card debt under control, and you'll have plenty of cushion in case of emergency.