public void addFolder(User user, String path, String folderName, String comment) {
		FileEntry entry = new FileEntry();
		entry.setPath(PathUtils.join(path, folderName));
		entry.setFileType(FileType.DIR);
		entry.setDescription(comment);
		fileEntityRepository.save(user, entry, null);
	}
Add folder on the given path.

@param user       user
@param path       base path
@param comment    comment
@param folderName folder name
ngrinder-controller/src/main/java/org/ngrinder/script/service/FileEntryService.java