Added ipaddr

function for ip creation to File out