added a demo for handling file uploads