in.close();
WebPage page = new WebPage();
page.setBaseUrl(new Utf8(urlString));
page.setContent(ByteBuffer.wrap(bytes));
MimeUtil mimeutil = new MimeUtil(conf);
String mtype = mimeutil.getMimeType(file);
page.setContentType(new Utf8(mtype));
parse = new ParseUtil(conf).parse(urlString, page);
//begin assertion for tests
ByteBuffer bbuf = page.getFromMetadata(new Utf8("Rel-Tag"));