public synchronized void delete() throws IOException {
		if (isReadOnly) {
			throw new ReadOnlyException(
				"Read-only DB directory lock, file removal not allowed: " + packedDbFile);
		}
		dispose();
		lock(updateLock, false, false);
		try {
			if (packedDbFile.exists() && !packedDbFile.delete()) {
				throw new IOException("File is in use or write protected");
			}
		}
		finally {
			updateLock.removeLock();
		}
	}
Deletes the storage file associated with this packed database.
This method should not be called while the database is open, if
it is an attempt will be made to close the handle.
@throws IOException if IO error occurs (e.g., file in-use or write-protected)
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/db/PackedDatabase.java