move the file to the right place