Please remember, I am totally unqualified to say this from anything other than my own personal feelings.
I'd file for D. If, during the process, he showed more than a little commitment, and by that I mean total commitment, not just words, to getting himself straight, I'd consider, but very carefully slowing it down, or stopping it. He's crossed a few lines, and put you and the kids in real danger. You can't have that. And he has to know it. And the only way he is going to get it is for you to file, I think. But, you have to mean it, because he may well never look back. (If my opinion that would be best for you, but I know it is not what you'd choose, and I hate it for the kids).