public synchronized void writeStringToFile(String str) {
		try {
			str += "\r\n";
			new File(saveLoc).mkdirs();
			String strfile = saveLoc+"AlreadyProcessedURL.txt";
			FileOutputStream fos = new FileOutputStream(strfile, true);
			fos.write(str.getBytes());
			fos.close();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}