labeling document when uploading