public ArrayList<Urlhistory> deletehits(String url) {
		BufferedReader br = null;
		ArrayList<Urlhistory> data = new ArrayList<Urlhistory>();

		try {
			br = new BufferedReader(new FileReader(path + "hits.db"));

			String line = "";
			while ((line = br.readLine()) != null) {
				SimpleDateFormat sdf = new SimpleDateFormat("yy-MM-dd");
				//	line =line.toLowerCase();
				Urlhistory history = new Urlhistory();
				int index1 = line.indexOf("@");
				int index2 = line.lastIndexOf("@");
				int hits = Integer.parseInt(line.substring(0, index1));

				String date = line.substring(index1 + 1, index2);
				String url1 = line.substring(index2 + 1);
				if (!url.equals(url1)) {
					history.setHits(hits);
					history.setDate(date);

					history.setUrl(url1);

					data.add(history);
				}

			}
			br.close();
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		return data;
	}