added textio.java