Programmatically change the content of the file field

Looks like it is missing, don’t know why.