add .dat to segments file