Added Java-7 try-with IO