Hi, I'm David an independent advisor and user just like you. I'll do my best to help you with this.
Windows 10 does use the "hibernate" function in most "Shut Down" operations because it makes the system reload more quickly when you switch back on - nevertheless you can disable this option to claim back the space used. The process to disable (and reenable) hibernate is detailed here: https://support.microsoft.com/en-gb/help/920730...
pagefil.sys is an important Windows file and should not be deleted. A good explanation of what this file is for is here: https://www.techadvisor.co.uk/how-to/windows/wh...
swapfile.sys is similar and is required by modern Window apps. Again an explanation, if you're interested, is here: https://www.windowscentral.com/what-swapfilesys...
Note: These two links as to a non-Microsoft website. The pages appears to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.
These files are always present, but usually hidden, so you don't see them. have you maybe changed your View settings recently (such as "Show protected operating system files")?
Regards,
David