finished directory and path visitor implementation

output is missing