change the directory of the files