added full path on the fopen(countries.csv) line, 

it doesn't change current behavior and it fix the problem if WhatsAPI is being used from other project/path