private void downloadPhonesFile() {
		
		long time = System.currentTimeMillis();
		ArrayList<AndroidDevice> deviceMap = null;
		
		HttpHelper httpH = new HttpHelper();
		HttpResponse response = httpH.getResponse(Settings.URI);
		String text = p.parseFirstResponseForPDF(response);
		deviceMap = p.parseTextForDeviceMap(text);
		DbHandler dbh = new DbHandler();
		boolean inserted = dbh.insertDevices(deviceMap, 0);
		if (inserted){
			log("Success");
		}else log("Failed");
//		try {
//			
////			deviceMap = p.parseResponse(response);
//		} catch (IllegalStateException e) {e.printStackTrace();
//		} catch (IOException e) {e.printStackTrace();}
//		finally{
			log("Finished");
			log("time taken = " + (System.currentTimeMillis() - time));
			log("number of devices = " + deviceMap.size());
			System.exit(0);
//		}

	}