modifying file