then the "default" (virtual) func would be line => line.Trim(' ').StartsWith(DirectiveString); but possible to override with my own condition