code: public static @Nullable BufferedImage read(@NotNull String imageFilePath) throws IOException {
      checkNotNull(imageFilePath);
      File imageFile = new File(imageFilePath);
      if (!imageFile.isFile()) {
        throw new IllegalArgumentException(format("The path <%s> does not belong to a file", imageFilePath));
      }
      return imageReader.read(imageFile);
    }
docs: Reads the image in the specified path.
  
  @param imageFilePath the path of the image to read.
  @return the read image.
  @throws NullPointerException     if the given path is {@code null}.
  @throws IllegalArgumentException if the given path does not belong to a file.
  @throws IOException              if any I/O error occurred while reading the image.