Parses a work from a cts file

        :param cts_file: Path to the CTS File
        :type cts_file: str
        :param textgroup: Textgroup to which the Work is a part of
        :type textgroup: CtsTextgroupMetadata
        :return: Parsed Work and the Texts, as well as the current file directory

def _parse_work(self, cts_file, textgroup):
        """ Parses a work from a cts file

        :param cts_file: Path to the CTS File
        :type cts_file: str
        :param textgroup: Textgroup to which the Work is a part of
        :type textgroup: CtsTextgroupMetadata
        :return: Parsed Work and the Texts, as well as the current file directory
        """
        with io.open(cts_file) as __xml__:
            work, texts = self.classes["work"].parse(
                resource=__xml__,
                parent=textgroup,
                _with_children=True
            )

        return work, texts, os.path.dirname(cts_file)