code: def get_input_media_referenced_files(self, var_name):
          
          # file to be uploaded
          string = 'attach://{name}'.format(name=var_name)
          return string, self.get_request_files(var_name)
docs: Generates a tuple with the value for the json/url argument and a dictionary for the multipart file upload.
          Will return something which might be similar to
          `('attach://{var_name}', {var_name: ('foo.png', open('foo.png', 'rb'), 'image/png')})`
  
          or in the case of the :class:`InputFileUseFileID` class, just
          `('AwADBAADbXXXXXXXXXXXGBdhD2l6_XX', None)`
  
          :param var_name: name used to reference the file.
          :type  var_name: str
  
          :return: tuple of (file_id, dict)
          :rtype: tuple