def convert(inputformat, outputformat, file_path, callback_url = nil, options = {})
      raise "File path cant be blank" if file_path.nil?
      @convert_request_url = start_conversion(inputformat, outputformat)
      #initiate connection with new response host
      initiate_connection(@convert_request_url)
      upload(build_upload_params(file_path, outputformat, callback_url, options))
    end
def convert(inputformat, outputformat, file_path, callback_url = nil, options = {})
      raise "File path cant be blank" if file_path.nil?
      @convert_request_url = start_conversion(inputformat, outputformat)
      #initiate connection with new response host
      initiate_connection(@convert_request_url)
      upload(build_upload_params(file_path, outputformat, callback_url, options))
    end
request_connection => specific to file conversion
convert request for file