def read_file(self, filename):
self.pack = {}<EOL>with open(filename, "<STR_LIT:r>") as f:<EOL><INDENT>for line in f:<EOL><INDENT>line = line.strip()<EOL>if (len(line) == <NUM_LIT:0>) or (line[<NUM_LIT:0>] == "<STR_LIT:#>"):<EOL><INDENT>continue<EOL><DEDENT>try:<EOL><INDENT>self._parse_modulus(line)<EOL><DEDENT>except:<EOL><INDENT>continue<EOL><DEDENT><DEDENT><DEDENT>
:raises IOError: passed from any file operations that fail.