add backend validation for file upload
add client side validation for csv upload