private static String getSiteInfo(String url, File f){
		try{
			if(f.exists()){
				Scanner reader = new Scanner(f);
				String site = "";
				while(reader.hasNext()){
					site += reader.nextLine() + " ";
				}
				System.err.println("Read from cache: /wiki/" + f.getName());
				return site;
			}
			else if(Util.errorLog.contains(f.getName())){
				System.err.println("Invalid URL...continuing");
				return "";
			}
			
			URL site = new URL(url);
			BufferedReader in = new BufferedReader(new InputStreamReader(site.openStream()));
			String allData = "";
			String inputLine;
			while ((inputLine = in.readLine()) != null){
				allData += inputLine + "\n";
			}
			in.close();
			
			PrintWriter pw = new PrintWriter(f);
			pw.println(allData);
			pw.flush();
			pw.close();
			System.err.println("Wrote local: /wiki/" + f.getName());
			return allData;
		}
		catch(Exception e){
			System.out.println("Failed to parse: " + url);
			System.err.println("Appending to error log");
			Util.appendSiteError(f.getName() + "\n");
			e.printStackTrace();
			return "";
		}
	}