Recursion file edit