Adjust linking of local files.