Fixed an issue with filelink generation.