modify the path of file