first upload all the files