console: api to delete files in the cache