def __init__(self, filename):
        """
        Initialization. We set the filename and number of lines in the file.
        Args:
            filename(str): Name of the file.
        """
        self._filename = filename
        self._total_data = (
            int(subprocess.check_output("wc -l " + filename, shell=True).split()[0]) - 1
        )

        Initialization. We set the filename and number of lines in the file.
        Args:
            filename(str): Name of the file.
        
utils_nlp/models/bert/common.py