function IsDirectoryEmpty add