add .attach/ for media file