not process if an item is not a directory