How to configure DHCP on CISCO IOS XE with options (60) conditions?

Cisco IOS XE Fuji 16.9:
How can I make the client receive the “bootfile” option, depending on what is specified in “option 60”?
This is necessary in order to transfer the necessary download file to clients with BIOS or UEFI
I tried to use the ip dhcp class, but it only allows you to set the range in the pool