@Override
	public String[] getItemNames(String folderPath, boolean includeHiddenFiles) throws IOException {

		File dir = getFile(folderPath);
		File[] dirList = dir.listFiles();
		if (dirList == null) {
			throw new FileNotFoundException("Folder " + folderPath + " not found");
		}
		ArrayList<String> fileList = new ArrayList<>(dirList.length);
		for (File element : dirList) {
			String name = element.getName();
			if (name.endsWith(PROPERTY_EXT) && element.isFile()) {
				if (!NamingUtilities.isValidMangledName(element.getName())) {
					log.warn("Ignoring property file with bad name: " + element);
					continue;
				}
				int index = name.lastIndexOf(PROPERTY_EXT);
				name = demangleName(name.substring(0, index));
				if (name != null && (includeHiddenFiles || !name.startsWith(HIDDEN_ITEM_PREFIX))) {
					fileList.add(name);
				}
			}
		}
		Collections.sort(fileList);
		return fileList.toArray(new String[fileList.size()]);
	}
Deallocate item storage
@param folderPath
@param itemName
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/MangledLocalFileSystem.java