import os
import xml.dom.minidom as xml


class XmlFileParser:

    def __init__(self, filename: str):

        if os.path.isfile(filename):
            self.xml_doc: xml = xml.parse(filename)
            print(f"Successfully opened {filename}")
        else:
            raise FileNotFoundError(f"Can't find {filename}")

63bbdbdf42bf97c57efe9cbc5874363f9daff229
<mask token>

<mask token>


class XmlFileParser:
    <mask token>

<mask token>


class XmlFileParser:

    def __init__(self, filename: str):
        if os.path.isfile(filename):
            self.xml_doc: xml = xml.parse(filename)
            print(f'Successfully opened {filename}')
        else:
            raise FileNotFoundError(f"Can't find {filename}")

import os
import xml.dom.minidom as xml


class XmlFileParser:

    def __init__(self, filename: str):
        if os.path.isfile(filename):
            self.xml_doc: xml = xml.parse(filename)
            print(f'Successfully opened {filename}')
        else:
            raise FileNotFoundError(f"Can't find {filename}")

import os
import xml.dom.minidom as xml


class XmlFileParser:

    def __init__(self, filename: str):

        if os.path.isfile(filename):
            self.xml_doc: xml = xml.parse(filename)
            print(f"Successfully opened {filename}")
        else:
            raise FileNotFoundError(f"Can't find {filename}")
