How to create fixlet to replace file

(imported topic written by Miran_p91)

I need to replace one configuration txt file but I dont know how to upload file (show this file in action code) and action code for replace file. Maybe for some is this easy job, but for me programing is like Sci-Fi, so assistance would be usefull.