[BUGFIX] Fix absolute link generation for files