Read either from `stdio` or `file`
Ignore directive nodes and allow lists