How does shiny fileinput create temp files?

Hi Community!
I am trying to understand when I use fileinput, what is the process of creating temp files? I see for me the files are created in the "AppData\Local\Temp" folder, is the same way how works in HTML5 documents?

Also, how soon is are the temp files deleted? Do they get overwritten as soon as I upload a new batch of files?