add docs for makeUploadPath