move directives to independent file