rename a code file.