private boolean checkFileExists(String uri){
		log("Checking if file exists at: " + uri.toString());
		File f = new File(uri);
		f.delete();
		boolean created = false;
		if (!f.exists()){
			try {
				if (f.createNewFile()){
					log("File created");
					return true;
				}
			} catch (IOException e) {
				e.printStackTrace();
			} 
			if (!created) {System.out.println("File not created"); return false;}
		}else{
			log("File Exists!");
		}
		return true;
	}