Found several posts like this one to tell how to find the latest file inside of a folder.
My question is one step forward, how to find the second latest file inside the same folder? The purpose is that I am looking for a way to diff
the latest log with a previous log so as to know what have been changed. The log was generated in a daily basis.