import abc

class XmlFile:
    @abc.abstractmethod
    def get_xml_file_name(self):
        pass

    def as_string(self):
        xml_string = "<log>"

        with open(self.get_xml_file_name()) as f:
            for line in f:
                xml_string += line

        xml_string += "</log>"
        
        return xml_string

15cee00fdc26cde07785fa228cea8c11f816e9e2
<mask token>


class XmlFile:
    <mask token>
    <mask token>

<mask token>


class XmlFile:

    @abc.abstractmethod
    def get_xml_file_name(self):
        pass
    <mask token>

<mask token>


class XmlFile:

    @abc.abstractmethod
    def get_xml_file_name(self):
        pass

    def as_string(self):
        xml_string = '<log>'
        with open(self.get_xml_file_name()) as f:
            for line in f:
                xml_string += line
        xml_string += '</log>'
        return xml_string

import abc


class XmlFile:

    @abc.abstractmethod
    def get_xml_file_name(self):
        pass

    def as_string(self):
        xml_string = '<log>'
        with open(self.get_xml_file_name()) as f:
            for line in f:
                xml_string += line
        xml_string += '</log>'
        return xml_string

import abc

class XmlFile:
    @abc.abstractmethod
    def get_xml_file_name(self):
        pass

    def as_string(self):
        xml_string = "<log>"

        with open(self.get_xml_file_name()) as f:
            for line in f:
                xml_string += line

        xml_string += "</log>"
        
        return xml_string
