Properly handler dirs only