The filing fee is $299. Under certain circumstances, it can be waived.
I strongly recommend speaking with a legal aid attorney to get help in preparing and filing the papers. Do *not* use a "bankruptcy petition preparer."
Attorney's fees for Ch 7 vary, depending on complexity and location, but in CT they generally fall in the $975 to $1800 range, plus court filing fee of $299, and the cost of consumer credit counseling. If your income places you under 125% of the poverty level, you may qualify for a legal aid lawyer. Check your local legal aid office, or the Statewide Legal Services office in Middletown.