public void FileReading(String filename){
		RemoteClientAuctionService client = new RemoteClientAuctionService();
		String name = "";
		String id;
		String date = null;
		String bidsRemaining;
		String current;
		long endsBy = 0;
		double currentBid = 1;
		long itemId = 0;
		int Bid;
		int bidsRem = 0;
//			byte[] b = null;
			try {
				Path p = Paths.get(filename);
				byte[] b = Files.readAllBytes(p);
				String input = new String(b);
				String[] s = input.split("<h3 class=\"lv[a-zA-Z0-9\"]+><a href=\"");
//				System.out.println(s.toString());
//				m = AUCTION_PATTERN.matcher(input);
				for(int i = 0; i < s.length; i++){
					Pattern pattern = Pattern.compile("[0-9]+</li>");
					Matcher matcher = pattern.matcher(s[i]);
					if (matcher.find()) {
					    id = (matcher.group());
					    id = id.replace("</li>", "");
					    itemId = Long.parseLong(id);
//						System.out.println("id   		" + id);
					}
					pattern = Pattern.compile("\"img\" alt=\"(?:[^\\\"]+|\\.)*\"");
					matcher = pattern.matcher(s[i]);
					if (matcher.find()) {
					    name = (matcher.group());
					    name = name.replace("\"img\" alt=\"", "");
					    name = name.replace("\"", "");
//					    System.out.println(name);
					}
//					pattern = Pattern.compile("Get it on or before <b>[a-zA-Z0-9,?.? ?]+");
					pattern = Pattern.compile("timems=\"\\d+");
					matcher = pattern.matcher(s[i]);
					if (matcher.find()) {
					    date = (matcher.group());
					    date = (date.replace("timems=\"", ""));
//					    date = (date.replace("<b>", ""));
					    endsBy = Long.parseLong(date);
					}
					pattern = Pattern.compile("<span>+[0-9]+ bid");
					matcher = pattern.matcher(s[i]);
					if (matcher.find()) {
						bidsRemaining = (matcher.group());
						bidsRemaining = bidsRemaining.replace("<span>", "");
						bidsRemaining = bidsRemaining.replace(" bid", "");
//						System.out.println("bids left		" +bidsRemaining);
//						System.out.println("Something");
						bidsRem = Integer.parseInt(bidsRemaining);
					}
//					pattern = Pattern.compile("[$]+[0-9]+.+ ");
//					pattern = Pattern.compile("$([0-9,]+\\.\\d{2}).*?(\\d+)");
					pattern = Pattern.compile("\\$\\d+,?\\d+.\\d+");
					matcher = pattern.matcher(s[i]);
					if (matcher.find()) {
					    current = (matcher.group());
					    current = current.replace("$", "");
					    current = current.replace(",", "");
//					    System.out.println("Current bid		" + currentBid);
					    currentBid = Double.parseDouble(current);
					}
					Auction a = new Auction(itemId, name, "", currentBid, bidsRem, new Date(endsBy), "System");
					searches.put(itemId, a);
				}

			} catch (IOException e) {
				e.printStackTrace();
			}
		}