fixed missing support for links to files