variable scope

File Object Scope - i declare it as global but second section fails, can i do this

Can i do this?
i declare a global thinking it would be valid for all of the program, but it fails:

Global File &LogFileA05;
Global File &LogFileA10;

/***** Set the Log File *****/
&LogFileA05 = GetFile("C:\temp\DELETE_USER_PROFILE_A05.log", "w", "a", %FilePath_Absolute);
&LogFileA05.WriteLine("Begin: " | %Datetime);
&LogFileA10 = GetFile("C:\temp\DELETE_USER_PROFILE_A10.log", "w", "a", %FilePath_Absolute);
&LogFileA10.WriteLine("Begin: " | %Datetime);

writeln in later section fails