new distance and data file