BS-9622 Adapt FormExpression to new file widget behaviour