public static HashSet<Section> parseKnownInput(String fileLocation, HashMap<String, Course> histCourses ){

		String line = null;
		HashSet<Section> knownCourseList = new HashSet<Section>();

		// Open a buffered/file reader to read the input file.
		try {
			BufferedReader br = new BufferedReader(new FileReader(System.getProperty("user.dir") + "/" + fileLocation));
			// Read to the end of the file
			while((line = br.readLine()) != null) {
				// Add a limit to the size of the line to ensure full inclusion
				String[] dataLine = line.split(",", 15);
				if(dataLine[0].charAt(0) != '#'){
					// Add the instructor information to the ArrayList.
					for (int i = 0; i < dataLine.length; i++){
						if(dataLine[i].equals("")){
							dataLine[i] = "-1";
						}
					}

					// Add the known data to the list of sections
					if ( histCourses.containsKey( dataLine[0] )) {
						knownCourseList.add(new Section( histCourses.get( dataLine[0]),
								dataLine[4], dataLine[5], dataLine[6],
								dataLine[7], dataLine[8], dataLine[9] ));
					}
				}
			}
			
			// Close the buffered reader
			br.close();

			return knownCourseList;

			// Catch the exceptions and print the corresponding results.
		} catch (FileNotFoundException e) {
			System.out.println("File "+fileLocation+" not found. Exiting program.");
			System.exit(1);
		} catch (IOException e) {
			System.out.println("IO Exception. Exiting program.");
			System.exit(1);
		} catch (ArrayIndexOutOfBoundsException e) {
			System.out.println("Array Index Out of Bounds. Exiting program.");
			System.exit(1);
		} catch (NumberFormatException e) {
			System.out.println("Number Format Exception. Exiting program.");
			System.exit(1);
		}

		return null;
	}