rename and link file