added content field and modified example.html
added file upload function