update the file readin and the dirtydict maintain