change the file to the right position