Added ability to pass crypt object to IO->read