Modify code book file