directory support in --path argument (#1)