public void appendToFile(Object d, Object c) {
		if (file == null) return;
		try(PrintWriter output = new PrintWriter(new FileWriter(file, true))) 
		{
		    output.printf("%s\r\n", d);
		    output.printf("%s\r\n", c);
		} 
		catch (Exception e) {}
	}