Filing a Bankruptcy petition puts an immediate STOP to ALL IRS collection actions. This does not mean that your tax liability will be wiped out, however, it does mean that the IRS won't have access to your assets without going through the US Bankruptcy court.
You will need to filed all past due tax returns before filing bankruptcy.
Please contact a bankruptcy attorney for more information.