Sounds like Borges.
Yeah, I believe Lem credits Borges with inspiring it.
My own wish list for forgotten works includes the prose works of Aristotle and the college plays the Jesuits created during the Counter-Reformation.
That is what I was going to say.