Should be split up into link, file and document