Write the content of the modified file on HDD