action create for directory