Improve CMSFormInputFile methods