anchor.diff:     */
     StaticFileHandler.serveFolder(directory) {
       _root = new Path(directory).canonicalize();
  -    checkDir();
  -  }
  -
  -  void errorHandler(error) {
  +    _checkDir();
  +  }
  +
  +  void _errorHandler(error) {
       // Every error goes here. Add potential logger here.
       print("Error: ${error.toString()}");
     }
   
  -  void checkDir() {
  +  void _checkDir() {
       if (!new Directory.fromPath(_root).existsSync()) {
         print("Root path does not exist or is not a directory");
         exit(-1);
  
positive.code:       switch (type) {
          case FileSystemEntityType.FILE:
            // If file, serve as such.
            serveFile(new File.fromPath(path), request);
            break;
            
          case FileSystemEntityType.DIRECTORY:
            // If directory, serve as such.
            if (new File.fromPath(path.append("index.html")).existsSync()) {
              serveFile(new File.fromPath(path.append("index.html")), request);
            } else {
              serveDir(new Directory.fromPath(path), request);
            }
            break;
            
  
negative.code:             request.listen(
                  (_) { /* ignore post body */ },
                  onDone: handleRequest(request),
                  onError: _errorHandler,
                  cancelOnError: true);
            }, onError: _errorHandler);
            completer.complete(true);
          }).catchError(_errorHandler);
      return completer.future;
    }
    
  