How to separate files based on country names?

We have a requirement to perform a  scenario like the output file has to be separated based on country.

We have a file like 











Solution:

Talend Job Design: