Thinking not to continue using java.nio. Start cleaning up for closure