assertTrue(retval >= 0);
// Now, create and open a read handler.
// note that without a protocol string, should default to file:
IURLProtocolHandler reader = new FileProtocolHandler(sampleFile);
retval = reader.open(null, IURLProtocolHandler.URL_RDONLY_MODE);
long bytesWritten = 0;
long totalBytes = reader.seek(0, IURLProtocolHandler.SEEK_SIZE);
byte[] buffer = new byte[1024];