Replace links with real files