Editing files in program