README.md modified
added resolvePath function