Split out directives into individual files