remove the use of commons-io