fixed generating wrong path to json.txt in current directory
Merge pull request #1 from aleshorak/master

fixed generating wrong path to json.txt in current directory