public static List<FileHelper> getDirFileNameLength(final File dir, String fileExt) throws IOException {
List<FileHelper> content = new ArrayList<FileHelper>();
File[] files = dir.listFiles();
FileHelper fh = null;
if (files != null) {
for (File file : files) {
fh = new FileHelper();
if (file.isFile() && !file.getName().startsWith(".") && file.getName().indexOf(fileExt) > 1) {
fh.setFileName(file.getName());
fh.setFileSize(getHumanSize(file.length()));
fh.setFileDate(new Date(file.lastModified()));
content.add(fh);
}
}//for
}//if
return content;