Remove file extension and dashes from segment name