When a file is being uploaded, an optional content type is provided. The implementation needs to persist this data for later use, as Java cannot reliably detect the content type of file.