Added case of data file not existing to .records_sorted_by