at last i can edit file successfully