added logging of all non image links to file