Small refactor of BoostCakeFormHelper->file()