add read to file open