The person filing the bankruptcy petition will be responsible for the filing fees as well as the costs of attending credit counseling and retaining an attorney. In some instances the filing fees can be paid in installments or waived by permission of the court.