What is faster to read Global variable or File

 
What can faster be read and what is better so for the programm performance, reading and writing into global variables or using texfiles?
 
PlanandTrade:
What can faster be read and what is better so for the programm performance, reading and writing into global variables or using texfiles?
Global Variables are saved in files so there is probably not much difference.
Reason: