-Added logic to ignore directory deletes