upload file capture attribute, getAuthToken Fn