I'm kind of an expert on bankruptcy. PM me if you have any questions. I can even get you some forms that will help you determine what Chapter to file & will give you a broad overview. In some circumstances, filing bankruptcy can actually improve your credit.
And screw the person who chides you for not taking personal responsibility without knowing anything abut your situation. Your primary responsibility is to your family.