private String saveFileOnDisk(String filePathToSave,String fileContent) throws IOException {
  File file=new File(filePathToSave);
  Files.createParentDirs(file);
  Files.write(fileContent,file,Charset.defaultCharset());
  return filePathToSave;
}

private String saveFileOnDisk ( String filePathToSave , String fileContent ) throws IOException { File file = new File ( filePathToSave ) ; Files . createParentDirs ( file ) ; Files . write ( fileContent , file , Charset . defaultCharset ( ) ) ; return filePathToSave ; }
saves the individual file on disk with the filecontent .
