move directive to a new file
move directive to a new file