After filing a Chapter 7 bankruptcy, you may have to attend a court hearing. After the court approves the petition, you will receive a discharge of your debts.