@Override
public FileFilter getFileFilter() {
if (filter != null) {
return filter;
}
filter = new CustomFileFilter();
String fileExtensions = (String) this.configHolder.getObject("filefilter.extensions");
//if any extension given we use them
if (fileExtensions != null) {
String[] extensions = fileExtensions.split(",");