Java code to demonstrate how to create a text file with file name by time stamp