private void loadfile(String csvFile) {
		try(BufferedReader fReader = new BufferedReader(new FileReader(csvFile))
				) {
			String data = "";
			while((data = fReader.readLine()) != null) {
				String[] values = data.split(",");
				double _value = Double.parseDouble(values[2]);
				if ((minFreq <= _value) && (_value <= maxFreq)) {//No need to add frequencies that don't matter
					pitches.add(_value);
				}
			}
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}		
	}