class ReplaySettings {

    public ReplaySettings loadReplayList(Path path) throws IOException {
        require("file with replay list", path);
        replayFiles.clear();
        try (Stream<String> lines = Files.lines(path)) {
            replayFiles.addAll(lines.map(Paths::get).collect(Collectors.toList()));
        }
        return this;
    }

}