My Python manuals tell me that if file name is used, it is assumed to be in the same folder as the current Python program.
If I try that in Alibre Script (saving my text file in the Alibre Script Library along with the Script), I get complaint that the file can't be found in C:\Program...