removing unused class which has NIO references