Split directives to different files