ENYO-3616:  remove added "." and fileChooser slash from the path