edit secondary file