fixed path to read files from different folde locations.