added code to rename data files