When is filing for bankruptcy a viable option?

Bankruptcy is only appropriate if the other options are not viable in your current circumstances.

If that's you, bankruptcy may be your best option.