create files & insert links