initially implemented html5 file upload feature