adds line information to file links.