def METHOD_NAME(self, filename, validate=True):
    f = os.path.join(os.path.dirname(__file__), 'data', filename)
    validator = BpmnValidator() if validate else None
    parser = TestBpmnParser(validator=validator)
    parser.add_bpmn_files_by_glob(f)
    return parser