Put correct filenames in links