def read_file(self):
        """
        Grabs filename and enables it to be read.
        :return: raw_file = unaltered text; file_lines = text split by lines.
        """
        with open(self.filename, mode='r+', encoding='utf8') as text_file:
            self.raw_file = text_file.read()  # pylint: disable= attribute-defined-outside-init
        self.file_lines = [x.rstrip() for x in self.raw_file.splitlines()]
Grabs filename and enables it to be read.
        :return: raw_file = unaltered text; file_lines = text split by lines.