Test edit of files