Add a file upload support and examples