upload and del files in order