fixed path and file prefix behaviour
Updated read me with example