rewrite demo to make the input file work on a form submit