public static ArrayList <UserData> loadData() {
		File load = new File("resources/files/UserData/");
		Gson loader = new Gson();
		ArrayList <UserData> res = new ArrayList <UserData>();
		for (File f : load.listFiles()) {
			BufferedReader br = null;
			try {
				br = new BufferedReader(new FileReader(f));
			} catch (FileNotFoundException e) {
				e.printStackTrace();
			}
		  	UserData read = null;
		  	try {
				read = loader.fromJson(br.readLine(), UserData.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;
	}