First you are assuming that you can file a chapter 7 rather than chapter 13. It is means tested. Second, you must receive a briefing about credit counseling from an approved agency within 180 days before you file for bankruptcy.