updated example to commons-io