code: protected InputStream createInputStream() throws IOException {
        if (asFile().isPresent()) {
           return new FileInputStream(asFile().orElse(null));
        }
        return null;
     }
docs: Create input stream input stream.
  
  @return the input stream
  @throws IOException the io exception