Examples for Java IO practices