'Requires:
nothing
Returns:
nothing (changes the original file)
Logic:
Read one line in at a time. Determine what action to take based on
the state. If the state is before the information table, look for the
beginning of the style table.
If the state is in the information table, use other methods to
parse the information
style table, look for lines with style info, and substitute the
number with the name of the style.  If the state if afer the
information table, simply write the line to the output file.'

def fix_info(self):

    self.__initiate_values()
    with open(self.__file, 'r') as read_obj:
        with open(self.__write_to, 'wb') as self.__write_obj:
            for line in read_obj:
                self.__token_info = line[:16]
                action = self.__state_dict.get(self.__state)
                if (action is None):
                    sys.stderr.write('No    matching    state    in    module    styles.py\n')
                    sys.stderr.write((self.__state + '\n'))
                action(line)
    copy_obj = copy.Copy(bug_handler=self.__bug_handler)
    if self.__copy:
        copy_obj.copy_file(self.__write_to, 'info.data')
    copy_obj.rename(self.__write_to, self.__file)
    os.remove(self.__write_to)
