remove flush_directory support
Merge pull request #111 from driftx/master

remove flush_directory support