You can clear your Recent Files in Windows 10 by going into your "Change folder and search options" menu.
You can edit the hosts file with any text editor. There are a variety available, but both Windows 10 and 11 come with Notepad ...