Test file edit