- fixed behavior for missing directories (not implemented) vs missing fi...

- fixed behavior for missing directories (not implemented) vs missing files (not found)

- improved correctness of error responses