No, there are no problems with filesystem. You can read
TXT file as a whole and save it in variable, or you can read
text as a list - in that case every line from TXT document
becomes new item in list variable, so you need to treat it
as a list and use list module to manipulate it.
The issue was with window.outerWidth == 0 in BAS, and some startnge code window.outerWidth || window.innerWidth from recaptcha service. If window.outerWidth == 0, so function, which calculates screen width, returned window.innerWidth which was always 304px, because code executed in captcha frame.