make a function ```openread()``` that does this.