added file upload with HTML 5 to the rest application