added parameter to filter by severity (issue #4)