Ramesh, look at the API documentation of class java.io.File. It contains methods like list() and listFiles() to get an array of File objects that represent the files in the directory.
After getting the array you can sort it using Arrays.sort(),
you should implement a Comparator object to compare the files by date.
Please try writing some code yourself, and if you get stuck, show us your code and tell us where you get stuck.