replace using file_get_content and to use location.gimmie.io to get country detail