def get_url(self, filename, data_format=None):
        """
        Creates url of file location on AWS.

        :param filename: name of file
        :type filename: str
        :param data_format: format of file, if None it will be set automatically
        :type data_format: constants.MimeType or None
        :return: url of file location
        :rtype: str
        """
        product_url = self.product_url
        force_http = filename in [AwsConstants.PRODUCT_INFO, AwsConstants.METADATA]
        if product_url is None or force_http:
            product_url = self.get_product_url(force_http=force_http)
        return '{}/{}'.format(product_url, self.add_file_extension(filename, data_format))
Creates url of file location on AWS.

        :param filename: name of file
        :type filename: str
        :param data_format: format of file, if None it will be set automatically
        :type data_format: constants.MimeType or None
        :return: url of file location
        :rtype: str