public static List<UserMovie> readData(String filename){
		List<UserMovie> list = new ArrayList<UserMovie>();
		File file = new File(filename);
		FileReader fr;
		BufferedReader br;
		String line;
		String strs[];
		try {
			fr = new FileReader(file);
			br = new BufferedReader(fr);
			while(br.ready()) {
				line = br.readLine();
				strs = line.split("\\s");
				UserMovie um = new UserMovie();
				um.setUserID(Integer.parseInt(strs[0]));
				um.setMovieID(strs[1]);
				um.setScore(strs[2]);
				list.add(um);
			}
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
		return list;
	}