There is a lot of preparation that needs to be done before you can file for bankruptcy, and while you might think that hiring a lawyer is all that you would need to end up doing in this regard you should bear in mind that there is some prep work that you need to do before you hire a lawyer as well. In spite of the fact that this is the case, people usually just hire bankruptcy lawyers thinking that they can handle anything for them, and it is important to note that this often results in the legal proceedings getting unnecessarily complicated at the end of the day.
A lawyer would only be able to help you if they can get a good look at all of your finances. Since these bankruptcy lawyers are not well versed in accounting and the like as this is not their profession or field, you should get an audit done before you go about hiring them in the first place. When you get an audit done, all of the particulars of your financial situation are going to be laid out on the table for everyone to see. This basically means that your lawyer would have an easier time sorting things out, and if they can conclusively prove that you are not in a position where you can pay back any of your debts then they would be able to win the case for you in a really big way.
Lawyers are there to help you, but you should also help them so that they do not get overworked. Overworking your lawyer is going to result in you not getting to file for bankruptcy at all.