add upload file tab

add js validations for upload of file