To add the function to print the data in file(time stamp) for future use