If you set up WhatsApp to create a backup, you have the option to recover deleted messages on the app.
You can clear your Recent Files in Windows 10 by going into your "Change folder and search options" menu.