Removed nio dependency