now throwing IOException checking against URLReaderTest code