@Override
	protected ItemStorage allocateItemStorage(String folderPath, String itemName)
			throws IOException, InvalidNameException {

		indexJournal.open();
		try {
			Folder folder = getFolder(folderPath, GetFolderOption.CREATE_ALL_NOTIFY);
			if (folder.items.containsKey(itemName)) {
				throw new DuplicateFileException(
					getPath(folderPath, itemName) + " already exists.");
			}
			Item item = new Item(folder, itemName);
			indexJournal.addItem(item);
			return item.itemStorage;
		}
		catch (NotFoundException e) {
			throw new FileNotFoundException("Folder not found: " + folderPath);
		}
		finally {
			indexJournal.close();
		}
	}
Allocate a new storage location
@param folderPath
@param itemName
@return storage location
@throws DuplicateFileException if item path has previously been allocated
@throws IOException if invalid path/item name specified
@throws InvalidNameException if folderPath or itemName contains invalid characters
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/IndexedLocalFileSystem.java