insert function links to filecreation on complete - successful