It would be nice to add a default type to accept files as input parameters. The type would wrap the content type and raw data. The validation remains to be designed.