added warning message if directories are not deleted