def _get_file_contents(fpath: Union[Path, str]) -> List[Tuple[str, str]]:
        """Extract file contents from '.txt' file.

        Args:
            fpath: path to a '.txt' file.

        Returns:
             a list with tuple of normalized file name and file contents

        """
        with open(fpath, encoding='utf-8') as fin:
            text = fin.read()
            normalized_text = unicodedata.normalize('NFD', text)
            return [(fpath.name, normalized_text)]
Extract file contents from '.txt' file.

        Args:
            fpath: path to a '.txt' file.

        Returns:
             a list with tuple of normalized file name and file contents

        
deeppavlov/dataset_readers/odqa_reader.py