Bankruptcy laws question

If you file for bankruptcy, under the new laws, are you able to keep your home and car? We have never made a late payment on our house, and if I do file bankruptcy I want to keep our house and car. Thanks