They stay where they are assigned to stay. What you see when you open a file is a copy of the information that is stored where you downloaded it or saved it to.
This is a Simple Dialog Demo.