use new fileSize property in maxFileSize rule rather than the old value property