My question involves bankruptcy in the state of: pa

My ex was awarded our house in the divorce decree but my name is still on the mortage with a lender because she cannot refinance in her own name because she doesn't have a job and her credit is terrible. Anyhow, the mortgage company keeps reporting negative information on my credit report because ex isn't paying mortgage on time. It states in the divorce decree that she is solely responsible for the mortgage payment and that if she doesn't pay it and they come after me, I can choose to pay it and then take her to court to recoup my money or not pay it and it will go into foreclosure. I do not have the money to pay the payments and then have to take her back to small claims court to get my money back, and she doesn't have any money to pay me back. Ex is a month behind on the mortgage and has been for the last 3 months. She has totally ruined my credit. I cannot force the sale of the home because my 2 kids live there with her. No judge is going to force a mother with 2 kids out of a home. So, I want to know IF I file bankruptcy would that clear my name off of the mortgage to that house. I want totally rid all the financial responsibility to that house. She has already ruined my credit, and I am not going to let her do it for the next 25 years. At least bankrupcy is only 10 years of bad credit. Any help would be appreciated.