fix wrong file links
new file map format, store file links as they appear