private RendererFactory rendererFactory;
public WHandler(File root, String uriEncoding) throws IOException {
this.root = root;
this.uriEncoding = uriEncoding;
rendererFactory = new RendererFactory(root, null, mapper);
mapper.getJsonFactory().enable(JsonParser.Feature.ALLOW_SINGLE_QUOTES);
mapper.getJsonFactory().enable(JsonParser.Feature.ALLOW_COMMENTS);
mapper.getJsonFactory().enable(JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES);
BufferedReader reader = new BufferedReader(new InputStreamReader(WHandler.class.getResourceAsStream("/res/mime.txt"), "utf-8"));
try {