public static boolean writePropertiesFile(String ipAddress, String user, String password, String filepath, String filename, String includeDate){
			
			Properties prop = new Properties();
			OutputStream output = null;
			
			try {
		 
				output = new FileOutputStream("Auto-DDWRT-Backup.properties");
		 
				// set the properties value
				prop.setProperty("ipAddress", ipAddress);
				prop.setProperty("user", user);
				prop.setProperty("password", password);
				prop.setProperty("filepath", filepath);
				prop.setProperty("filename", filename);
				prop.setProperty("includeDate", includeDate);
		 
				// save properties to project root folder
				prop.store(output, null);
		 
			} 
			catch (IOException io) {
				io.printStackTrace();
				return false;
			} 
			finally {
				if (output != null) {
					try {
						output.close();
					} catch (IOException e) {
						e.printStackTrace();
						return false;
					}
				}
		 
			}
			
			return true;
			
		}//end writePropertiesFile()