added last element to all data files