persisting paiir changes in file