Set deleteDirs to true