only use lastPathcomponent for upload notification