@Override
	public synchronized String[] getFolderNames(String folderPath) throws IOException {
		File dir = getFile(folderPath);

		File[] dirList = dir.listFiles();
		if (dirList == null) {
			throw new FileNotFoundException("Folder " + folderPath + " not found");
		}
		ArrayList<String> folderList = new ArrayList<>(dirList.length);
		for (File element : dirList) {
			if (!element.isDirectory()) {
				continue;
			}
			String name = demangleName(element.getName());
			if (name != null) {
				folderList.add(name);
			}
		}
		Collections.sort(folderList);
		return folderList.toArray(new String[folderList.size()]);
	}
Deallocate item storage
@param folderPath
@param itemName
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/MangledLocalFileSystem.java