Nextcloud 16 is already out of support as you’re aware?!
First you should check your configuration because the given string is usually used to configure a caching service for Nextcloud and not a physical file. IT might be possible that a syntax error exists in your configuration file.
And yes, you should delete any file with that path or name from the Nextcloud document root folder.