changing directories and file names