Fix #2 - search and cut relativeTo param in path
Fix path separator on windows
Fix same variable names
Merge pull request #3 from huston007/master

#2 - search and cut relativeTo param in path