@DeleteMapping("/**")
	public void deleteOne(User user, @RemainedPath String path) {
		fileEntryService.delete(user, path);
	}
", "/", ""})
	public List<FileEntry> getAll(User user, @RemainedPath String path) {
		String trimmedPath = trimToEmpty(path);

		return fileEntryService.getAll(user)
				.stream()
				.filter(Objects::nonNull)
				.filter(fileEntry -> trimPathSeparatorBothSides(getPath(fileEntry.getPath())).equals(trimmedPath))
				.sorted(DIRECTORY_PRIORITY_FILE_ENTRY_COMPARATOR)
				.peek(fileEntry -> fileEntry.setPath(removePrependedSlash(fileEntry.getPath())))
				.collect(toList());
	}

	/**
Delete file by given user and path.

@param user user
@param path path
ngrinder-controller/src/main/java/org/ngrinder/script/controller/FileEntryApiController.java