public ResultsComputer(String cf, String tf) {
		clustersFile = cf;
		topicsFile = tf;
		clusterToDocs = new HashMap<Integer,ArrayList<Integer>>();
		docToTopics = new HashMap<Integer,ArrayList<String>>();
		
		/** Populate cluster to document mapping **/
		try {
			BufferedReader br = new BufferedReader(new FileReader(clustersFile));
			// Parse each line
			String line = "";
			while ((line = br.readLine()) != null) {
				// Separate line by commas
				String[] stringData = line.split(",");
				
				// Convert the string data into integers
				ArrayList<Integer> intData = new ArrayList<Integer>();
				Integer clusterNum = 0;
				for (int i = 0; i < stringData.length; i++) {
					// First element is the cluster number
					if (i == 0) {
						clusterNum = Integer.parseInt(stringData[i]);
						System.out.println("Reading cluster number: " + clusterNum);
					} else {
						intData.add(Integer.parseInt(stringData[i]));
					}
				}
				
				// Create a key value pair to enter into map
				clusterToDocs.put(clusterNum,intData);
			}
			// Close file
			br.close();
			System.out.println("Completed reading " + clustersFile);
			
			/** Populate the document to topics mapping **/
			br = new BufferedReader(new FileReader(topicsFile));
			// Parse each line
			line = "";
			while ((line = br.readLine()) != null) {
				// Separate line by commas
				String[] stringData = line.split(",");
				
				ArrayList<String> topics = new ArrayList<String>();
				Integer docNum = 0;
				for (int i = 0; i < stringData.length; i++) {
					// First element is the cluster number
					if (i == 0) {
						docNum = Integer.parseInt(stringData[i]);
						System.out.println("Reading topics for document number: " + docNum);
					} else {
						topics.add(stringData[i]);
					}
				}
				
				// Create a key value pair to enter into map
				docToTopics.put(docNum,topics);
			}
			// Close file
			br.close();
			System.out.println("Completed reading " + topicsFile);
			
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (NumberFormatException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}