public static ArrayList <IngredientData> loadData() {
	File load = new File("resources/files/IngredientData/");
	Gson loader = new Gson();
	ArrayList <IngredientData> res = new ArrayList <IngredientData>();
	for (File f : load.listFiles()) {
		BufferedReader br = null;
		try {
			br = new BufferedReader(new FileReader(f));
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
	  	IngredientData read = null;
	  	try {
			read = loader.fromJson(br.readLine(), IngredientData.class);
			res.add(read);
		} catch (JsonSyntaxException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	  	finally {
			if(br != null) {
				try {
					br.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
	}
	return res;
}