write interval reference to first line of  interval reads file