Naming: directory instead of connection

credits to luka