List<String> fileNames = FileIoUtils.getFileNamesInFolder(folderPath);
List<LogFile> logFiles = new ArrayList<LogFile>();
for (String fileName : fileNames) {
LogFile logFile = new LogFile(fileName);
logFiles.add(logFile);
if (VarUtils.IN_DETAIL_DEBUG) {
models.utils.LogUtils.printLogNormal(logFile.toString());
}
}
Collections.sort(logFiles, Collections.reverseOrder());
return logFiles;