test edit file