adding $basedir parameter to filterlist to support non standard basedir