updated: removed ability to use directory local paths (without the /slash). Updated unit tests.