It is not necessary to pass the variables to the new file, because by including the new file the variables are maintained.
Remember that $ _GET is an array, and it can be modified within the script.
On this case, $_GET['name']
is accesible from the "myfile.php"