
try (InputStream in = new BufferedInputStream(new FileInputStream(path))) {
    readFile(in);
}

