collect the string using given path instead of modue name and fix the fi...

...le content issue