Have you tried with just copy the context of that text file in citrix using hot key ctrl+c and use Set To clipboard activity and use “Get From Clipboard”.
https://www.uipath.com/activities-guide/set-to-clipboard
https://www.uipath.com/activities-guide/get-from-clipboard
Regards…!!
Aksh