Add support for file upload.