public void setup(Context context) throws IOException {
		Configuration conf = context.getConfiguration();
		Path centroidsPath = new Path(conf.get(Main.CENTROIDS));
		FileSystem fs = FileSystem.get(centroidsPath.toUri(),conf);
		FileStatus [] list = fs.globStatus(new Path(centroidsPath,"part-*"));
		centers = new HashMap<Integer,ArrayList<Double>>();
		for (int j = 0;j<list.length;j++){
			BufferedReader br = new BufferedReader(new 
					InputStreamReader(fs.open(list[j].getPath())));
			String line;
			while((line = br.readLine())!=null){
				String [] temp = line.split("[,\\t]");
				ArrayList<Double> axis = new ArrayList<Double>();
				for(int i = 1; i<temp.length; i++){
					axis.add(Double.parseDouble(temp[i]));
				}
				centers.put(Integer.parseInt(temp[0]), axis);
			}
		}
		num_Clusters = centers.size();
	}