I am so sorry to read that he has filed. You handled the conversation very well considering it was a shock to you. As for seeing him again, give yourself some time to find your footing. Try to live in the present and do not look too far into the future. Life has a way of changing very quickly and that's why it's important to live in the present.
I'm keeping you in my thoughts and prayers.
Sit quietly, the answers will reveal themselves when you least expect them to. The past is gone, the present is a gift and you need to focus on today, allow the future to reveal itself when it is ready.