replace links with real files