Glad David has provided a script, my first thought is a non-starter as although there is an entry in the albumfiles.txt file there is no album object for it.
Don't know if you would also want to list/remove comments from the comments file and remove the 'stale' entry in the albumfiles.txt file. I'm assuming album output files have already been removed.
I'll leave it to you and David
