public void write(String[] InputStringArray){
		
		PrintWriter out;
		try {
            Files.deleteIfExists(Paths.get(filePath));

			out = new PrintWriter(new FileWriter(filePath, false));
			
			for (int i=0;i<InputStringArray.length;i++)
				out.println(InputStringArray[i]);
			
			out.close();
			
		} catch (IOException e) {
			System.out.println("Write Failed");
		}
	}