def read_file(self, filename):
        """Read each line of a watch-file"""
        with open(filename, 'r') as file:
            lines = [line.strip() for line in file]

        for line in lines:
            if line and not line.startswith('#'):
                self.read_line(line)
dataset/ETHPy150Open borntyping/spotter/spotter/watches.py/WatchFile.read_file/original