public static void loadData(String fileInputPath) throws FileNotFoundException{
		Scanner in = new Scanner(new BufferedInputStream(new FileInputStream(new File(fileInputPath + ".tmp"))));
		int len = Integer.parseInt(in.nextLine());
		for(int i = 0; i < len; i++){
			String line = in.nextLine();
			String[] tks = line.split(" ");
			for(int j = 0; j < tks.length; j++){
				int p = Integer.parseInt(tks[j]);
				int q = Integer.parseInt(tks[(j + 1) % tks.length]);
				HashSet<Integer> pHS = new HashSet<Integer>();
				HashSet<Integer> qHS = new HashSet<Integer>();
				if(pointsList.containsKey(p)){					
					pHS = pointsList.get(p);
				}
				if(pointsList.containsKey(q)){					
					qHS = pointsList.get(q);
				}
				if(pHS.contains(q) == false)pHS.add(q);
				if(qHS.contains(p) == false)qHS.add(p);
				pointsList.put(p, pHS);
				pointsList.put(q, qHS);
			}
		}
		in.close();
		in = new Scanner(new BufferedInputStream(new FileInputStream(new File(fileInputPath + ".nm"))));
		in.nextLine(); // read 3
		len = Integer.parseInt(in.nextLine());
		for(int i = 0; i < len; i++){
			String[] tks = in.nextLine().split("\t");
			long x = Long.parseLong(tks[0]);
			long y = Long.parseLong(tks[1]);
			long z = Long.parseLong(tks[2]) + (x * x + y * y);
			points.add(new long[]{x, y, z});
		}
		in.close();
	}