public void sendContent( OutputStream out, Range range, Map<String, String> params, String contentType ) throws IOException, NotAuthorizedException {
String subpath = getRealFile().getCanonicalPath().substring( factory.getRoot().getCanonicalPath().length() ).replace( '\\', '/' );
String uri = "/" + factory.getContextPath() + subpath;
XmlWriter w = new XmlWriter( out );
w.open( "html" );
w.open( "body" );
w.begin( "h1" ).open().writeText( this.getName() ).close();
w.open( "table" );
for( Resource r : getChildren() ) {
w.open( "tr" );