Test of updating file