change file exist method