modify the path of input files