Simple text io for java