strip path from uploaded file names