#3 Switch from single file upload to batch upload and validate before upload(unfinished)