add three function in read/write/writeln