def batch_read_file(url, mode, custom_headers:nil)
      response = batch_read_file_async(url, mode, custom_headers:custom_headers).value!
      nil
    end
def batch_read_file(url, mode, custom_headers:nil)
      response = batch_read_file_async(url, mode, custom_headers:custom_headers).value!
      nil
    end
Use this interface to get the result of a Read operation, employing the
 state-of-the-art Optical Character Recognition (OCR) algorithms optimized for
 text-heavy documents. When you use the Read File interface, the response
 contains a field called "Operation-Location". The "Operation-Location" field
 contains the URL that you must use for your "Read Operation Result" operation
 to access OCR results.​

 @param mode [TextRecognitionMode] Type of text to recognize. Possible values
 include: 'Handwritten', 'Printed'
 @param url [String] Publicly reachable URL of an image.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.