'Main method for handling other methods. Read one line at
a time, and determine whether to print the line based on the state.'

def delete_info(self):

    with open(self.__file, 'r') as read_obj:
        with open(self.__write_to, 'w') as self.__write_obj:
            for line in read_obj:
                self.__token_info = line[:16]
                if (self.__token_info == 'ob<nu<open-brack'):
                    self.__ob_count = line[(-5):(-1)]
                if (self.__token_info == 'cb<nu<clos-brack'):
                    self.__cb_count = line[(-5):(-1)]
                action = self.__state_dict.get(self.__state)
                if (not action):
                    sys.stderr.write(('No    action    in    dictionary    state    is    "%s"    \n' % self.__state))
                if action(line):
                    self.__write_obj.write(line)
    copy_obj = copy.Copy(bug_handler=self.__bug_handler)
    if self.__copy:
        copy_obj.copy_file(self.__write_to, 'delete_info.data')
    copy_obj.rename(self.__write_to, self.__file)
    os.remove(self.__write_to)
    return self.__found_delete
