Unanswered question

I have a File variable which is a dataset But when I get the value in a script it seems not to change???I have attached the script which is in the init folderThe variable is set to change on each iteration

I works fine like so ${UserData.username}, in a request but I also need to encode the username to base64 in a script