Updating files field programmatically

Depends how you upload the file, the hook should be triggered not only in the Panel but also if you upload using Kirby’s methods.

The result looks ok, so probably no yaml encoding needed.