Programmatically change the content of the file field

Thank you again. You are constantly helping out. I will sort this out.