Jennifer Garner is ready to file for divorce from Ben Affleck.

Jennifer Garner

Jennifer Garner

The '13 Going On 30' actress and the 'Batman vs. Superman: Dawn of Justice' - who announced they were splitting back in 2015 - have remained focused on raising their three children, Violet, 11, Seraphina, eight and Samuel, four, and will continue to do so even when Jennifer signs the divorce papers.

A source told Us Weekly magazine: "No matter what happens, Ben and Jen are committed to raising their family as one unit and will continue to do so as it has worked for them. They are both committed to their family."

Jennifer and Ben have stayed on good terms since their split, with the 44-year-old actor recently revealing she is the "best cook" he knows.

He shared: "Jen is a really great cook. She's probably the best cook I know. We had roast chicken this year [for Christmas]; it was really, really good. Other than that, we do pizza nights, where a guy comes and makes pizza and nobody has to cook. All the cleaning [is left to Ben]."

And Ben feels he has a "very rich" life which is "full of wonderful things".

He explained: "I feel better about my life every day. My kids get older. My life is very rich and full of wonderful things. I've been very lucky, career-wise. My professional success is really important to me, and my career is really important to me. It's the most important thing to me outside of my family. I take it very seriously and work really, really hard at it. Family comes first, but this is something that's really important to me too."