Before a person may file for bankruptcy, he or she will need to obtain, or at least attempt to obtain, credit counseling from an approved nonprofit credit counselor.