The file -> entity matching behaviour of the `EntityTransformer` should be configurable rather than hard-coded into the entity node classes.