This constraint is most commonly used on a property that will be rendered
in a form as a file form type. For
example, suppose you're creating an author form where you can upload a
"headshot" image for the author. In your form, the headshot property
would be a file type. The Author class might look as follows: