New condition: isDirectory
fix delete folder
test skip new feature