public void read(String filename) throws FileNotFoundException, IOException {
		String curRow[];

		BufferedReader file = new BufferedReader(new FileReader(filename));

		try {
			int n = Integer.valueOf(file.readLine());

			L = new int[n][n];
			for (int i = 0; i < n; i++) {
				curRow = file.readLine().split(delim);
				for (int j = 0; j < n; j++)
					L[i][j] = Integer.valueOf(curRow[j]);
			}

			urls = new String[n];
			for (int i = 0; i < n; i++)
				urls[i] = file.readLine();
		} catch (IOException e) {
			throw e;
		} finally {
			file.close();
		}
	}