Constructs a delegate file filter around an existing FilenameFilter.
param
filter the filter to decorate
if (filter == null) {
throw new IllegalArgumentException("The FilenameFilter must not be null");
}
this.filenameFilter = filter;
this.fileFilter = null;