docs: public static byte[] read(File sourceFile) throws IOException {
          if (sourceFile == null) {
              throw new IOException("Source must not be null");
          }
  
          if (false == sourceFile.exists()) {
              throw new IOException("Source '" + sourceFile + "' does not exist");
          }
  
          if (true == sourceFile.isDirectory()) {
              throw new IOException("Source '" + sourceFile + "' exists but is a directory");
          }
  
          FileInputStream input = null;
          ByteArrayOutputStream output = null;
  
          try {
              input = new FileInputStream(sourceFile);
              output = new ByteArrayOutputStream();
              copy(input, output);
              output.flush();
              return output.toByteArray();
          } finally {
              IOUtils.closeQuietly(input);
              IOUtils.closeQuietly(output);
          }
      }