...e se non sbaglio dovresti anche riscrivere l'intero file ogni volta che fai qualche modifica...