added trimmed file name for bsUpload