code: public static byte[] readFile(File input) throws IOException {
          return Files.readAllBytes(Paths.get(input.getAbsolutePath()));
      }
docs: Read the contents a file.
  
  @param input source file to read.
  @return contents of the file.
  @throws IOException