test delete dir and file