Comparing date in filename with current time, to sort out the relevant log files.