give collection as flat object back
get right name for uploaded file