added toenvironmentalpathwithoutfile name