add file for directives