Test edit file.