
         private void getCountryCodes(String path, Context context) throws IOException{
 
             Configuration configuration = context.getConfiguration();
             FileSystem fileSystem = FileSystem.get(configuration);
             FSDataInputStream in = fileSystem.open(new Path(path));
             Text line = new Text("");
             LineReader lineReader = new LineReader(in, configuration);
 
             int offset = 0;
             do{
                 offset = lineReader.readLine(line);
 
                 if(offset > 0){
                     String[] tokens = line.toString().split(",", -1);
                     countryCodesTreeMap.put(tokens[COUNTRY_CODE_INDEX], tokens[COUNTRY_NAME_INDEX]);
                 }
 
             }while(offset != 0);
 
 
         }
 
 
