Allow to pass multiple directories and add a filter for the output.