docs: @SuppressWarnings("resource")
      public static byte[] readFile(File file) throws IOException {
  
          // create input and output stream
          FileInputStream in = new FileInputStream(file);
  
          // read the content
          return readFully(in, (int)file.length());
      }