upload document file only in training session