class LocalFileReader implements FileReader {

    @Nullable
    @Override
    public CharStream read(String name) {
        for (Path prefix : pathList) {
            Path path = prefix.resolve(name);
            if (Files.isRegularFile(path)) {
                try {
                    byte[] bytes = Files.readAllBytes(path);
                    String result = new String(bytes, StandardCharsets.UTF_8);
                    return CharStreams.fromString(result);
                } catch (IOException e) {
                    LOGGER.trace("Could not read {}", path, e);
                }
            }
        }
        return null;
    }

    public  LocalFileReader(Path... paths);
    public  LocalFileReader(List<Path> paths);

}