fix links in file resources