fix file name parse with enviroment map parse