rename file for links
delete old link file