edits to freq file