Text this: Optical properties and energy transfer in LiYF4