code: public static LogView parse(File file, Log log) throws IOException {
                  LogView view = (LogView) xstream.fromXML(file);
                  view.reinitialize();
                  view.addTraces(log.getTraces());
                  return view;
          }
docs: Parses a {@link LogView} file and using the given {@link Log}.
  
  @param file Log view file.
  @param log Log for the view.
  @return The parsed log view.
  @throws IOException If the log view can't be read under the given
  path.