Add upload file capability to uploadpage.html