@InlineMe(
      replacement = "BinaryKeysetReader.withInputStream(new FileInputStream(file))",
      imports = {"com.google.crypto.tink.BinaryKeysetReader", "java.io.FileInputStream"})
  @Deprecated
  public static KeysetReader withFile(File file) throws IOException {
    return withInputStream(new FileInputStream(file));
  }
Static method to create a BinaryKeysetReader from a file.

<p>Note: the input file won't be read until {@link BinaryKeysetReader#read} or {@link
BinaryKeysetReader#readEncrypted} is called.

@deprecated Inline the function.
java_src/src/main/java/com/google/crypto/tink/BinaryKeysetReader.java