I think we should just put get filename on `TypedOutput` and state in the javadoc that it is only used for multipart requests and it's perfectly valid to return `null`. We should then handle `null` rather than doing the `instanceof` check.